What is preparing for 1.7 version #5
KlaudiuszWojtkowiak
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Immutable entities
Entities will be immutable. Setters will work, but every time a new object will be created. Immutable obnjects may be easy cloned by the reference duplication. Because of that, Daobab Entities will be tread-safe.
Frozen queries
Every query (Daobab object) may be 'frozen'. After this operation, query cannot be modified (unntil unfreeze). Frozen queries are extremely quick. Like a native queries, wchich will be "frozen" by default as well. This kind of queries however, still accepts dynamic parameters (like JPA Repository does)
Internal TypeConverters - reponsible for conversion from database object to any Java type
JsonConverters - really fast internal conversion
Introduced REPLACE INTO - insert but on duplicated records only
Introduced on duplicated key update - actions when rows are duplicated
Insert for selected columns only
removed countAny and distinct methods from query objects- those operations are available as regural functions now
entities must have two contructors now.
Introduced ColumnCache - column interfaces are simplified and optimised
EntityRelation interface renamed to RelatedTo
massive internal refactoring and cleaning
Beta Was this translation helpful? Give feedback.
All reactions