openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Bauer <>
Subject Re: Use external classes as entities
Date Wed, 24 Mar 2010 22:06:03 GMT
This may/may not work depending on your environment and the class
definitions, but you could try defining the mappings and metadata for
ForeignClass1 and ForeignClass2 in an orm.xml file.

Another issue will be getting these classes enhanced and verifying they
still behave properly after enhancement  (ie. the business logic, if any,
still works properly).  If you are in a JSE environment, you could try using
the agent enhancer.  It will enhance the classes as they are loaded (no need
to modify the jar).  You'll likely need to specify the iCal4j jar in a
<jar-file> element and define the foreign classes in <class> elements within
your persistence.xml.


On Wed, Mar 24, 2010 at 2:25 PM, Pinaki Poddar <> wrote:

> > Any ideas?
> Please see [1]
> [1]
> -----
> Pinaki
> --
> View this message in context:
> Sent from the OpenJPA Users mailing list archive at

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