openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay Herrick <...@HerrickWeb.com>
Subject Non JPA Annotations?
Date Tue, 15 Mar 2011 18:41:35 GMT
Hello,

I'm trying to add some custom annotations to my entity objects that I'll use
at runtime for display purposes.  I've done this before in other code and
I've defined my custom annotation with the
@Retention(RetentionPolicy.RUNTIME) annotation (It always tickles me that we
use annotations to build annotations :) )

It looks like my annotations are removed when OpenJPA enhances the entity
classes.  Is that really what's happening here?  Is there any way I can ask
OpenJPA to leave my annotations intact?

Thanks for any help you can offer,

-Jay

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message