Releases: jhannes/fluent-jdbc
Releases · jhannes/fluent-jdbc
Better comparison on save
DatabaseSaveBuilder and DbSyncBuilderContext converts datatypes before comparison to give better change detection
- DbContext.ensureTransaction supports transactions
DbSyncBuilderContext preview
The new DbSyncBuilderContext allows for advanced synchronization between data in-memory and in the database.
- Usage is demonstrated in https://github.com/jhannes/fluent-jdbc/blob/master/src/test/java/org/fluentjdbc/usage/context/ProductRepository.java
- This was used as a chance to complete bulk operations through DatabaseBulkUpdateBuilder, DbBulkDeleteContext, DbBuildUpdateContext and DatabaseBulkUpdateable
- DatabaseRow.getXXX(DatabaseColumnReference) was completed for all data types
Override of DatabaseSaveBuilder
Allow for override of DatabaseSaveBuilder
- New UsageDemonstrationTest
Support DatabaseTable subclasses
- Changed DatabaseTable to allow for easier subclassing
- Added DbContext#getThreadConnection
- Added whereExpressionWithMultipleParameters (better name would be great!)
Support joins between tables with DbContext
Added DbJoinedSelectTableContext
and DbTableAliasContext
to support joins with DbContext
DatabaseJoinedQueryBuilder
Create queries with inner joins.
DatabaseSaveResult
Return status of DatabaseSaveBuilder (INSERT, UPDATE, or UNCHANGED)
Cache support
table.cache(key, k -> table.where("id", k)....)
caches a retrieval until the current context is completed
DbContext classes avoids the need to pass around DataSources and connections
fluent-jdbc-0.0.4 [maven-release-plugin] copy for tag fluent-jdbc-0.0.4
Minor: Added DatabaseDeleteBuilder
fluent-jdbc-0.0.3 [maven-release-plugin] copy for tag fluent-jdbc-0.0.3