H,

Sorry for this stupid question but despite reading 
http://openjpa.apache.org/entity-enhancement.html
http://openjpa.apache.org/entity-enhancement.html , and 
http://people.apache.org/~mprudhom/openjpa/site/openjpa-project/manual/ref_guide_pc_enhance.html
http://people.apache.org/~mprudhom/openjpa/site/openjpa-project/manual/ref_guide_pc_enhance.html
, it seems fair to assume that I should not use build time enhancement of my
entity beans.

Quoting from openjpa manual: 
"2.2. Enhancing JPA Entities on Deployment

The JEE 5 specification includes hooks to automatically enhance JPA entities
when they are deployed into a container. Thus, if you are using a JEE
5-compliant application server, OpenJPA will enhance your entities
automatically at runtime. Note that if you prefer build-time enhancement,
OpenJPA's runtime enhancer will correctly recognize and skip pre-enhanced
classes.

If your application server does not support the JEE 5 enhancement hooks,
consider using the build-time enhancement described above, or the more
general runtime enhancement described in the next section."

We are running OpenJPA 1.2.2 on GlassFish 2.1.

No build time enhancement is required correct?


/Thanks

-- 
View this message in context: 
http://openjpa.208410.n2.nabble.com/Build-time-enhancement-or-GlassFish-enhancement-tp6061774p6061774.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to