AO SQL Changelog


Release Notes

  • Added missing NoSuchElementException from implementations of Iterator.


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 with ErrorPrinter. 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 to com.aoapps:ao-sql.
  • Package renamed from com.aoindustries.sql to com.aoapps.sql.


Release Notes

  • Removed SQLExceptions, which was unused and not intended for production release.


Release Notes

  • New project for SQL and JDBC utilities split from AO Lang and AO Hodgepodge.
  • New utility class Connections for working with java.sql.Connection.
  • SQLUtility now accepts Function to generate exception instead of Class. Using lambdas is faster than reflection, and the compiler can verify the presence of the constructor.
  • New class SQLStreamables for sending Timestamp objects across the wire. These methods were previously part of StreamableInput and StreamableOutput.
  • 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.