Hi I tried to move a project over to openjpa yesterday
I get the message that my entities mix annotations on properties
and methods.

The main problem is, that
I have all my annotations set on the properties themselves
but I have a @PrePersist annotation set on a trigger method
which does some prepersist application logic!
All other annotations are directly on the instance variables
which define the properties! No other one is on any method!

JPA and Hibernate Annotations takes my entities as given and do not choke on them, OpenJPA does.

This seems like a bug to me, am I right?

Version of openjpa, current stable version!


Werner

Reply via email to