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 AOCode Public.
- 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
.