Hi,
I got the following output:
On another note: The exception disappeared in my 'test-code' when I added a
second @entity object with a relation to the first. Not sure if that means
something, but at least I can continue.
buildfile:
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/build.xml
pre-compile:
compile:
[javac]
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/build.xml:104:
warning: 'includeantruntime' was not set, defaulting to
build.sysclasspath=last; set to false for repeatable builds
run:
[echo] =============================================
[echo] javaagent:
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/openjpa-2.2.0-20110415.075847-49.jar
[echo] parent :
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/..
[echo] root :
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple/hellojpa/../../..
[echo] myCp :
/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/examples/simple:/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/lib/derby-10.5.3.0_1.jar:/Users/simons/openjpa/apache-openjpa-2.2.0-SNAPSHOT/openjpa-all-2.2.0-SNAPSHOT.jar
[echo] =============================================
[java] Exception in thread "main" <openjpa-2.1.0-r422266:1071316
nonfatal general error> org.apache.openjpa.persistence.PersistenceException:
Already closed.
[java] at
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:558)
[java] at
org.apache.openjpa.jdbc.meta.MappingTool.record(MappingTool.java:
--
View this message in context:
http://openjpa.208410.n2.nabble.com/Can-t-get-hellopjpa-from-examples-working-tp6262603p6293513.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.