openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeremy Bauer <techhu...@gmail.com>
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.

-Jeremy

On Wed, Mar 24, 2010 at 2:25 PM, Pinaki Poddar <ppoddar@apache.org> wrote:

>
> > Any ideas?
>
> Please see [1]
>
> [1] http://openjpa.apache.org/builds/latest/docs/manual/manual.html#type
>
> -----
> Pinaki
> --
> View this message in context:
> http://n2.nabble.com/Use-external-classes-as-entities-tp4787743p4793276.html
> Sent from the OpenJPA Users mailing list archive at Nabble.com.
>

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