Skip to content

Migration Guide 2.15

Jose Carvajal edited this page Nov 18, 2022 · 5 revisions

REST Data with Panache changes

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.

Current version

Migration Guide 3.17

Next version in main

Migration Guide 3.18

Clone this wiki locally