[EN] OpenXava: Logic from the database with @Formula

Опубликовано: 11 Июнь 2026
на канале: OpenXava
734
7

In this 17th lesson, you'll learn to use the Hibernate @Formula annotation in your OpenXava entities, so you can map a SQL statement to a property. This allows you to have properties with a calculation where you can search and filter in list mode.

🔎You can see more about the lesson here: https://openxava.org/OpenXavaDoc/docs...

🔎You can access the full course here: https://www.openxava.org/OpenXavaDoc/...

For any problem you face with the lesson ask in our forum:
https://sourceforge.net/p/openxava/di...

Don't forget to subscribe and leave us your comment!