Java DB 10.5 introduces some significant features:
SQL Roles: SQL roles (as described in SQL 2003 and errata) are useful for administering privileges for groups of users. Administering roles is generally less error-prone than administering privileges for individual users. SQL Roles are defined in Feature T331 "Basic roles" and Feature T332 "Extended roles". Derby 10.5 implements a subset of T331, plus support for CURRENT_ROLE, which is a part of T332.
Generated Columns: Generated Columns is a feature which instructs Derby to fill a column with an expression built out of other columns in the row. Derby constructs these column values at INSERT and UPDATE time. The user declares indexes on these columns. This in turn improves SELECT performance, since it lets users declare indexes on pre-computed pieces of the WHERE clause. This feature satisfies support for SQL Feature T175.
LOB Improvements: There were many performance and usability improvements for BLOBs and CLOBs.
Replication of encrypted databases: With 10.5 it is possible to replicate encrypted databases.
OFFSET/FETCH FIRST: SQL 2008 has added new syntax to support a direct way to limit the returned set of rows in a result set, through the fetch first and offset clauses.
In-memory back end: Initial implementation of a storage engine for Derby where all data is kept in memory. There is no documentation for this feature. This functionality itself is not yet fully implemented, but users are welcome to experiment with it. For details, see the Primer for In-memory Back Ends.
Standard ALTER COLUMN syntax: Allow standard SQL "SET" keyword in ALTER COLUMN syntax. The syntax is "ALTER TABLE ALTER COLUMN columnname SET DEFAULT default-value".
SYSCS_UTIL.SYSCS_UPDATE_STATISTICS: New system procedure that updates cardinality statistics (or creates them if they do not exist) for a table's index or for all the indexes on a table, allowing a user to ensure that a query plan based on the most recent state of the table can be created.
Further details on new features, changes, and issues in this release can be found in the release notes.
Java DB 10.5.3.0 is a bug fix release and also provides localization of new 10.5 messages.