Hi
Excuse me for the late reply
Thanks for your replies and helps
My problem was solved .
I have an embeddable class that I use it as embedded property in some entity
class and we forgot to list it on the persistence.xml file and then enhancer
didn’t enhance it .I think this embeddable class w
Glassfish should automatically enhance your entities if you use a container
managed EntityManagerFactory. The container is required to use the
createContainerEntityManagerFactory method, this is where OpenJPA provides a
ClassTransformer (actually the same agent that you mentioned before).
So if yo
Another option would be to enhance your classes at build time. That would
ensure that you are running with enhanced Entities.
-Rick
http://openjpa.apache.org/entity-enhancement.html -- Checkout the Build Time
Enhancement section.
--
View this message in context:
http://n2.nabble.com/java.lang.
Glassfish uses TopLink essentials as JPA provider:
https://glassfish.dev.java.net/javaee5/persistence/
My guess would be that it does not uses the OpenJPA agent...
You could check the script that starts the server.
If you are on NetBeans, there should be an ant task to start the
server. There you c
hi
Thank your for your reply
I use glassfish app server for deploying my application .
I think glassfish as java EE container itself do this .According to thread
on Address:
http://markmail.org/message/zlcq3lrj5jfolup7#query:glassfish%20javaagent%20openjpa+page:1+mid:qw7323mlldhlpr2e+state:result
Sorry, just in case it's not clear:
The -javaagent:path-to-openjpa.jar should be added as a JVM parameter for your
java application.
--
Luis Fernando Planella Gonzalez
Em Segunda-feira 17 Agosto 2009, às 09:33:56, Luis Fernando Planella Gonzalez
escreveu:
> Something you could try is using the
Something you could try is using the JPA java agent.
I had an StackOverflowError with OpenJPA without the agent enabled.
Try adding: -javaagent:path-to-openjpa.jar
--
Luis Fernando Planella Gonzalez
Em Segunda-feira 17 Agosto 2009, às 09:15:16, javadia...@gmail.com escreveu:
>
> Hi
> I get the f