[EN] OpenXava: Synchronize persistent and calculated properties💻💡

Опубликовано: 14 Июнь 2026
на канале: OpenXava
412
5

In this sixteenth lesson, we will see how to synchronize both computed and persistent properties using JPA callback methods, in order to be able to use the @Calculation annotation's list sorting and filtering functions, with complex logic from a getter.

We will use:

📌@Depends
📌@Column(columnDefinition=)
📌@PrePersist
📌@PreUpdate

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

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

👩‍💻Visit our forum: https://sourceforge.net/p/openxava/di...

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