Hi mxc,
could you post the exception stacktrace and the code snippet causing the
error? the one where you add the entity and the parent and persist them.
Simone
mxc wrote:
Hi all,
I have a simple node entity pretty much as follows
-
@Id
Hi Kevin,
After debugging, I discovered that I need to have a META-INF/persistence.xml
file on my classpath for this to work otherwise no ClassFileTransformer is
installed and hence enhancing does not work.
It may be worth to explicitly state that out-of-the-box the javaagent
requires a META-INF
Heather,
What release/revision of OpenJPA are you using? There was a semi-recent
situation with the ordering of inserts in our statement batching support
that you may be running into. OPENJPA-817 (
https://issues.apache.org/jira/browse/OPENJPA-817) documents the problem I
am thinking of. Besides
Adam,
Interesting questions, which could have very lengthy answers... But, let's
start and see where it takes us...
On Fri, Jan 30, 2009 at 11:05 AM, Adam Hardy wrote:
>
> One of the projects I work on is a framework that is designed to be used
> with any JPA provider, and the testing runs again
Hi,
I am experiencing some weird behavior regarding the insertion order for
inherited classes. I am using the join table strategy and some of the time
it inserts the superclass first, while other times it inserts the subclass
first (thus resulting in an exception). It's completely random, with
Adam,
Provided you have your pu's defined separately, the agent allows you to
specify a particular persistence unit for enhancement. Example:
-javaagent:C:/eclipse.workspaces/3.2.2/openjpa-1.2.0/openjpa-all/target/openjpa-1.2.0.jar=pu=OpenJPAPU
-Jeremy
On Fri, Jan 30, 2009 at 11:05 AM, Adam Ha
Hi Kevin,
whilst on the subject, I'm using this in Eclipse too but there is one thing that
it appears cannot be done.
One of the projects I work on is a framework that is designed to be used with
any JPA provider, and the testing runs against OpenJPA as well as Hibernate and
Toplink Essentia
On Thu, Jan 29, 2009 at 2:20 PM, is_maximum wrote:
>
> I really don't know why after about 6 months working with OpenJPA and
> inserting near a million records we should face this problem? what have
> changed that cause optimistic locking to be activated spontaneously!!!
Hmmm... Not sure. Wha
Hi Gianny,
I use this all the time. On my Run configuration for the application that I
am running I will put something like the following as a JVM argument...
-javaagent:C:/eclipse.workspaces/3.2.2/openjpa-1.2.0/openjpa-all/target/openjpa-1.2.0.jar
This should kick in the PCEnhancerAgent for the
Hi,
I am unable to get javaagent based enhancement work within Eclipse.
Based on a cursory review of PCEnhancerAgent, I can see that no
ClassFileTransformer is installed when
List anchors = Configurations.
getFullyQualifiedAnchorsInPropertiesLocation(opts);
returns an em
FYI, I unit tested with:
OpenEJB 3.1
ojdbc14.jar and ojdbc5.jar
Open JPA Versions 1.2 and 1.0.3 (using Geronimo 2.1.3).
--
View this message in context:
http://n2.nabble.com/Oracle-Blob-Exception-with-11.1-jdbc-driver-tp2242185p2244588.html
Sent from the OpenJPA Users mailing list archive at
I set MaxEmbeddedBlobSize to -1 and it worked fine.
--
View this message in context:
http://n2.nabble.com/Oracle-Blob-Exception-with-11.1-jdbc-driver-tp2242185p2244553.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
12 matches
Mail list logo