A quick overview of my favorite new things in Hibernate 6.5. Thread incoming.
A quick overview of my favorite new things in Hibernate 6.5. Thread incoming.
In HQL 'insert' statements, 'on conflict do nothing' and 'on conflict do update'. That's right, upserts!
Key-based pagination reduces the likelihood of missed or duplicated results in paginated queries. This is available via generated query methods, or via the usual Query APIs.
@idclass may now be used with record types (this completes Hibernate's support for Java records)
@idclass Useful new configuration options for advanced users: hibernate.cache.query_cache_layout hibernate.type.prefer_java_type_jdbc_types hibernate.query.hql.portable_integer_division See in.relation.to/2024/03/20/orm…
@1ovthafew @idclass @pattern I'm concerned about @create, @update and @delete. Shouldn't it be @Persist, @Merge and @Remove 🤔 I hope @JakartaEE Data doesn't make the mistake of Spring Data of hiding persistence context and auto-merging entities.