Type |
Changes |
By |
 |
Tests fail to build under 1.6, and warning while compiling source Fixes DBUTILS-32. |
bayard |
 |
BeanListHandler and BeanHandler fail to support java.sql.Date() Fixes DBUTILS-1. |
bayard |
 |
ResultSetRowProcessor abstract handler and some classes rework Fixes DBUTILS-16. |
bayard |
 |
Setting bean properties fails silently Fixes DBUTILS-3. |
bayard |
 |
MockResultSet needs to handle equals and hashCode Fixes DBUTILS-9. |
dgraham |
 |
MockResultSet: Throw UnsupportedOperationException for not implemented methods Fixes DBUTILS-7. |
bayard |
 |
Implement Pluggable Adaptors to Make BeanHandler Smarter Fixes DBUTILS-20. |
dgraham |
 |
Patch for extending BasicRowProcessor Fixes DBUTILS-15. |
dgraham |
 |
Protected QueryRunner.close() methods Fixes DBUTILS-12. |
dgraham |
 |
Updated docs for example.html page (select AS) Fixes DBUTILS-23. |
dgraham |
 |
Added protected ResultSetIterator.rethrow() method to wrap SQLExceptions in
RuntimeExceptions. Fixes DBUTILS-4. |
dgraham |
 |
Added SQLState and error code to rethrown SQLExceptions. Fixes DBUTILS-5. |
dgraham |
 |
Added KeyedHandler to create a Map of Maps from a ResultSet. Fixes DBUTILS-25. |
dgraham |
 |
Use current class' ClassLoader instead of QueryLoader's ClassLoader
in loadQueries(). Fixes DBUTILS-2. |
dgraham |
 |
Made QueryLoader.loadQueries() protected so subclasses can use query
repositories other than properties files. Fixes DBUTILS-22. |
dgraham |
 |
QueryRunner now calls getDataSource() internally any time it needs access
to its DataSource object to allow subclasses to provide different behavior. |
dgraham |
 |
Added DbUtils.rollbackAndClose() and DbUtils.rollbackAndCloseQuietly(). |
dgraham |
 |
Call ResultSet.getTimestamp() in BeanProcessor.processColumn() if
the bean property is a java.sql.Timestamp. Oracle's getObject()
implementation returns its own incompatible Timestamp class. Fixes DBUTILS-26. |
dgraham |
 |
Changed QueryRunner.fillStatement() null handling
to use Types.VARCHAR instead of Types.OTHER. This works for the
following tested drivers: Firebird 1.5/firebirdsql 1.5RC3,
Oracle 9/ Thin driver, MySQL 4.0/Msql Connecttor 3.0 and mm.mysql
2.0.4 MaxDB 7.5, HSQLDB 1.7.1, and MS Access/ODBC Bridge. Fixes DBUTILS-18. |
dgraham |
 |
Added a protected QueryRunner.prepareConnection() method to
allow subclasses to customize the Connections retrieved from
the DataSource before they're used. Fixes DBUTILS-21. |
dgraham |
 |
Refactored bean handling from BasicRowProcessor into new
BeanProcessor class. This also fixes the common problem with
Oracle NUMERIC fields not being set into bean properties. |
dgraham |
 |
Added QueryRunner.batch() methods for batch updates. Fixes DBUTILS-13. |
dgraham |
 |
Added new ResultSetHandler implementation, ColumnListHandler, that
converts one ResultSet column into a List of Objects. Fixes DBUTILS-11. |
dgraham |