Avg Release Cycle
- 👌 Support full-line comments in external sql and sql scripts. Full line comments must begin with # or // or -- as the first character(s) on the line.
- ➕ Added handle#first(..): Map convenience functions to query for individual rows
- ✂ Removed DBITransactionFailedException and used plain old DBIException in its place
- ➕ Added unstable package for holding elements subject to API changes during a major release cycle.
- 🖐 Handle decorator functionality added to unstable feature set
- 👍 JavaBean mapped named parameter support
- 📇 Renamed Handle#preparedBatch to Handle#prepareBatch
- Queries return java.util.List instead of java.util.Collection
- 🔧 Much more sophisticated auto-configuration
- Broke backwards compatibility on handle.query(String, Object) method behavior (this is reason why 1.1.0 version increment) (read the javadocs if you use this method)
- ✂ Removed method Handle#query(String, Object, Object). Could lead to confusion with changed behavior mentioned above
- 👍 Batch and PreparedBatch Support
- ✂ Removed an unused exception
- 🛠 Fixed bug in named parameter extractor (would miss named params not preceeded by whitespace)
- 👍 Better auto-detection of statement type (named, raw sql, etc)
- Spring integration tools
- Provide an interface for the DBI class in order to play nicer with proxies
- 🛠 Prepared statement re-use was failing on Oracle, fixed.
- Fleshed out the execute(..) methods to take full array of arguments, like query.
- ➕ Added update(..): int which return number of rows affected
- ♻️ Lots of internal refactoring
- 🚀 Was swallowing an exception in one place for the (brief) 1.0.3 release. Definitely upgrade if using 1.0.3
- 🛠 Fixed a bug where quoted text could be interpreted as named tokens, bad me.
- ➕ Added HandleCallback methods to DBI to manage handle db resources etc for clients.
- ✂ Removed test dependency on Jakarta commons-io, which had been used, previously, for deleting the test database. Tests now depend only on derby and junit, still with no runtime dependencies (other than the JDBC driver for your database).