-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Migration Guide 2.15
The Hibernate ORM extension now enables IN clause parameter padding by default, improving the caching of queries containing IN clauses.
You can disable this behavior by setting quarkus.hibernate-orm.query.in-clause-parameter-padding
to false
.
The quarkus-hibernate-orm-rest-data-panache
and quarkus-hibernate-reactive-rest-data-panache
extensions now support querying by entity fields and entity-named queries. To see more information about this change, you can go to section Query parameters to list entities of the extension guide.
Before these changes, the auto-generated resources were internally calling the PanacheRepositoryBase.findAll()
and PanacheRepositoryBase.findAll(sort)
methods. And after these changes, the auto-generated resources are now calling the PanacheRepositoryBase.find(query, params)
and PanacheRepositoryBase.find(query, sort, params)
methods. This is totally transparent for users, so they don't need to migrate anything. However, if you were overriding either the findAll()
or the findAll(sort)
methods of the entity repository, these methods won't be called by the auto-generated resources any longer. Instead, you should now use the PanacheRepositoryBase.findAll()
and PanacheRepositoryBase.findAll(sort)
methods.