ao-sql-2.1.0-SNAPSHOT
Snapshot Notes
- Minimum Java version changed from 1.8 to 11.
ao-sql-2.0.1
Release Notes
- Added missing
NoSuchElementExceptionfrom implementations ofIterator.
ao-sql-2.0.0
Release Notes
-
Split development-only classes into a new sub-project in
devel/. This sub-project is used only for development and is never deployed to artifact repositories. -
Deprecated
WrappedSQLExceptionin favor of directly registering the SQL statements withErrorPrinter. This allows the SQL statements to be logged while not altering exception types underneath the application. - Now supports Java 9+ modules with included
module-info.class. - Maven artifact relocated from
com.aoindustries:ao-sqltocom.aoapps:ao-sql. - Package renamed from
com.aoindustries.sqltocom.aoapps.sql.
ao-sql-1.0.1
Release Notes
- Removed
SQLExceptions, which was unused and not intended for production release.
ao-sql-1.0.0
Release Notes
- New project for SQL and JDBC utilities split from AO Lang and AO Hodgepodge.
- New utility class
Connectionsfor working withjava.sql.Connection. SQLUtilitynow acceptsFunctionto generate exception instead ofClass. Using lambdas is faster than reflection, and the compiler can verify the presence of the constructor.-
New class
SQLStreamablesfor sendingTimestampobjects across the wire. These methods were previously part ofStreamableInputandStreamableOutput. Now registering exception types for use with
Throwables.newSurrogate(…)that supports creating new instances of throwables in order to have caller stack trace. When wrapped, the original throwable is the cause of the new throwable. When not wrapped, the original throwable is used directly and caller stack trace is lost.This is used to maintain exception types and states across thread boundaries, such as when an exception cause is obtained from an
ExecutionException.