openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gioni <manolac...@yahoo.com>
Subject Re: OpenJPA 1.1.0 and Exception: The result set is closed
Date Mon, 21 Jul 2008 14:09:29 GMT

I tested also with MySQL (5.0.51a-community +
mysql-connector-java-5.1.5-bin.jar) and the error is:

Exception in thread "main" <openjpa-1.1.0-r422266:657916 fatal general
error> org.apache.openjpa.persistence.PersistenceException: Unable to create
a second class object proxy for final class "class $Proxy10".
        at
org.apache.openjpa.util.ProxyManagerImpl.assertNotFinal(ProxyManagerImpl.java:545)
        at
org.apache.openjpa.util.ProxyManagerImpl.generateProxyCollectionBytecode(ProxyManagerImpl.java:514)
        at
org.apache.openjpa.util.ProxyManagerImpl.getFactoryProxyCollection(ProxyManagerImpl.java:363)
        at
org.apache.openjpa.util.ProxyManagerImpl.copyCollection(ProxyManagerImpl.java:182)
        at
org.apache.openjpa.kernel.AttachStrategy.copyCollection(AttachStrategy.java:344)
        at
org.apache.openjpa.kernel.AttachStrategy.attachCollection(AttachStrategy.java:321)
        at
org.apache.openjpa.kernel.AttachStrategy.replaceList(AttachStrategy.java:359)
        at
org.apache.openjpa.kernel.AttachStrategy.attachField(AttachStrategy.java:223)
        at
org.apache.openjpa.kernel.VersionAttachStrategy.attach(VersionAttachStrategy.java:161)
        at
org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:241)
        at
org.apache.openjpa.kernel.AttachManager.attach(AttachManager.java:101)
        at org.apache.openjpa.kernel.BrokerImpl.attach(BrokerImpl.java:3206)
        at
org.apache.openjpa.kernel.DelegatingBroker.attach(DelegatingBroker.java:1158)
        at
org.apache.openjpa.persistence.EntityManagerImpl.merge(EntityManagerImpl.java:769)
        at ro.mig.Main.testMasterUpdate(Main.java:111)
        at ro.mig.Main.main(Main.java:169)
Java Result: 1


-- 
View this message in context: http://n2.nabble.com/OpenJPA-1.1.0-and-Exception%3A-The-result-set-is-closed-tp533628p575209.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.


Mime
View raw message