ao-sql-2.0.1
Release Notes
- Added missing
NoSuchElementException
from 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
WrappedSQLException
in 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-sql
tocom.aoapps:ao-sql
. - Package renamed from
com.aoindustries.sql
tocom.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
Connections
for working withjava.sql.Connection
. SQLUtility
now acceptsFunction
to generate exception instead ofClass
. Using lambdas is faster than reflection, and the compiler can verify the presence of the constructor.-
New class
SQLStreamables
for sendingTimestamp
objects across the wire. These methods were previously part ofStreamableInput
andStreamableOutput
. 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
.