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 theonConfigure
method of their SquidDatabase. See the javadocs ofsetPreparedInsertCacheEnabled
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 usingordinal()
instead ofname()
). CustomArgumentResolver
implementations can be used in a SquidDatabase using the extensiblebuildCompileContext
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.
- โ 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