openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Patrick Linskey" <plins...@gmail.com>
Subject Re: Weird problem/bug
Date Wed, 23 Jan 2008 08:00:36 GMT
Hi,

Can you post the domain model that's causing the problems? Does the
superclass use the same access type as the subclasses?

-Patrick

On Jan 22, 2008 12:56 AM, Werner Punz <werner.punz@gmail.com> wrote:
> 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
>
>



-- 
Patrick Linskey
202 669 5907

Mime
View raw message