-
An association is defined between two entities and a
PreUpdatelistener is usedpublic class EmployeeListener { @PreUpdate void onPreUpdate(Object o) { } } @Entity @EntityListeners( EmployeeListener.class ) public class Employee { ... @On
ClassCastException when changing a collection association to a set if @PreUpdate listener exists in Hibernate
Solution verified - Updated on
Request a new translation or translation update
A translation for your language preference does not exist. Click below to request a translation for your selected language.
Issue
Subscriber Exclusive Content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.