SquiDB v3.2.0 Release Notes

Release Date: 2016-11-01 // over 7 years ago
    • โž• Add an experimental, under-the-hood change that can lead to performance increases of up to 70% for transactions inserting a large number of rows, and ~25-50% in the average case when inserting rows. The change is disabled by default; to enable it, users can call setPreparedInsertCacheEnabled(true) in the onConfigure method of their SquidDatabase. See the javadocs of setPreparedInsertCacheEnabled for more information.
    • โž• Add a new prepareStatement API to SquidDatabase, which allows users to prepare and reuse low-level (non-query) SQLite statements. Reusing these prepared statements can result in a performance improvement when used judiciously.
    • ๐Ÿ— Introduce the ArgumentResolver API that lets users control how non-primitive values are bound to SQL statements (e.g., a user could override enum value handling to bind the values using ordinal() instead of name()). Custom ArgumentResolver implementations can be used in a SquidDatabase using the extensible buildCompileContext method.
    • ๐Ÿšš Move the copyDatabase() debugging utility into SquidDatabase. Fix some bugs with its implementation to make it behave nicely with databases in WAL mode and be thread safe.
    • ๐Ÿ”Œ Some minor enhancements to the BasicPropertyGenerator plugin API that make it easier to modify the declarations of a model's getters and setters.
    • โฌ†๏ธ Bump the SQLite version in squidb-sqlite-bindings to 3.15.0.