See <http://hudson.zones.apache.org/hudson/job/OpenJPA-trunk/22/changes>

Changes:

[allee8285] OPENJPA-1713 correct the push/pop clean up processing in 
EntityManagerImpl _plans map.

------------------------------------------
[...truncated 8102 lines...]
88  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
1  TestConv  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  TestConv  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
7  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
67  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
0  TestConv  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  TestConv  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
6  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
78  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
0  TestConv  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  TestConv  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
7  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
71  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
0  TestConv  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  TestConv  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
7  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
71  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
0  TestConv  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  TestConv  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
6  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
68  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
0  TestConv  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  TestConv  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
6  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
68  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
0  TestConv  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  TestConv  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
8  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
75  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
1  TestConv  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  TestConv  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
8  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
78  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
0  TestConv  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  TestConv  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
7  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
68  TestConv  WARN   [main] openjpa.MetaData - OpenJPA cannot map field 
"org.apache.openjpa.persistence.query.common.apps.RuntimeTest1.selfOneMany" 
efficiently.  It is of an unsupported type. The field value will be serialized 
to a BLOB by default.
Tests run: 24, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.593 sec
Running org.apache.openjpa.persistence.kernel.TestProxies2
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
Tests run: 10, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 2.626 sec
Running org.apache.openjpa.persistence.jdbc.strategy.TestStrategyAnnotaion
0  testStrategy  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  testStrategy  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
396  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.405 sec
Running org.apache.openjpa.persistence.fetchgroups.TestFetchGroupStacks
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.811 sec
Running org.apache.openjpa.persistence.compat.TestQuerySQLCache
4  test  ERROR  [main] openjpa.Runtime - Failed to create a provider for "test".
<openjpa-2.1.0-SNAPSHOT-r422266:959352 fatal internal error> 
org.apache.openjpa.util.InternalException: There was an error when invoking the 
static newInstance method on the named factory class 
"org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory".  See the nested exception 
for details.
        at 
org.apache.openjpa.kernel.Bootstrap.newBrokerFactory(Bootstrap.java:73)
        at 
org.apache.openjpa.persistence.PersistenceProviderImpl.getBrokerFactory(PersistenceProviderImpl.java:141)
        at 
org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:94)
        at 
org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:147)
        at 
org.apache.openjpa.persistence.PersistenceProviderImpl.createEntityManagerFactory(PersistenceProviderImpl.java:65)
        at 
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:152)
        at 
org.apache.openjpa.persistence.compat.TestQuerySQLCache.testBadCustomCacheSetting(TestQuerySQLCache.java:64)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at junit.framework.TestCase.runTest(TestCase.java:154)
        at 
org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runTest(AbstractPersistenceTestCase.java:516)
        at junit.framework.TestCase.runBare(TestCase.java:127)
        at 
org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:503)
        at 
org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.runBare(AbstractPersistenceTestCase.java:479)
        at junit.framework.TestResult$1.protect(TestResult.java:106)
        at junit.framework.TestResult.runProtected(TestResult.java:124)
        at junit.framework.TestResult.run(TestResult.java:109)
        at junit.framework.TestCase.run(TestCase.java:118)
        at 
org.apache.openjpa.persistence.test.AbstractPersistenceTestCase.run(AbstractPersistenceTestCase.java:179)
        at junit.framework.TestSuite.runTest(TestSuite.java:208)
        at junit.framework.TestSuite.run(TestSuite.java:203)
        at sun.reflect.GeneratedMethodAccessor151.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:213)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:140)
        at 
org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:127)
        at org.apache.maven.surefire.Surefire.run(Surefire.java:177)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:345)
        at 
org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:1009)
Caused by: org.apache.openjpa.lib.util.ParseException: There was an error while 
setting up the configuration option "jdbc.QuerySQLCache", and it was set to 
"org.apache.openjpa.persistence.compatible.TestQuerySQLCache.BadCacheMap". All 
possible values for this setting are: [true, 
org.apache.openjpa.jdbc.kernel.PreparedQueryCacheImpl, false, null].
        at org.apache.openjpa.lib.conf.Value.unalias(Value.java:276)
        at org.apache.openjpa.lib.conf.Value.unalias(Value.java:254)
        at 
org.apache.openjpa.lib.conf.PluginValue.setString(PluginValue.java:137)
        at 
org.apache.openjpa.lib.conf.ConfigurationImpl.fromProperties(ConfigurationImpl.java:654)
        at 
org.apache.openjpa.lib.conf.MapConfigurationProvider.setInto(MapConfigurationProvider.java:85)
        at 
org.apache.openjpa.persistence.PersistenceProductDerivation$ConfigurationProviderImpl.setInto(PersistenceProductDerivation.java:691)
        at 
org.apache.openjpa.jdbc.kernel.JDBCBrokerFactory.newInstance(JDBCBrokerFactory.java:60)
        at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.openjpa.kernel.Bootstrap.invokeFactory(Bootstrap.java:131)
        at 
org.apache.openjpa.kernel.Bootstrap.newBrokerFactory(Bootstrap.java:65)
        ... 35 more
7  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
850  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.872 sec
Running org.apache.openjpa.persistence.annotations.TestEmbeddableSuperclass
1  TestConv  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  TestConv  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.714 sec
Running org.apache.openjpa.persistence.kernel.TestEJBGetObjectByIdValue
1  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.093 sec
Running org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.TestMany2ManyMapEx3
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
10  test  INFO   [main] openjpa.MetaData - Inefficient mapping: You have 
declared that field 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.PhoneNumber.emps" is mapped 
by collection 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.Employee.phones".  The 
mapping would be much more efficient if instead you map 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.PhoneNumber.emps" and 
declare that 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.Employee.phones" is mapped 
by it.
642  test  INFO   [main] openjpa.MetaData - Inefficient mapping: You have 
declared that field 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.PhoneNumber.emps" is mapped 
by collection 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.Employee.phones".  The 
mapping would be much more efficient if instead you map 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.PhoneNumber.emps" and 
declare that 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.Employee.phones" is mapped 
by it.
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
2  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.5.3.0 - (802917) 
,Apache Derby Embedded JDBC Driver 10.5.3.0 - (802917)).
8  test  INFO   [main] openjpa.MetaData - Inefficient mapping: You have 
declared that field 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.PhoneNumber.emps" is mapped 
by collection 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.Employee.phones".  The 
mapping would be much more efficient if instead you map 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.PhoneNumber.emps" and 
declare that 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.Employee.phones" is mapped 
by it.
29  test  INFO   [main] openjpa.MetaData - Inefficient mapping: You have 
declared that field 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.PhoneNumber.emps" is mapped 
by collection 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.Employee.phones".  The 
mapping would be much more efficient if instead you map 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.PhoneNumber.emps" and 
declare that 
"org.apache.openjpa.persistence.jdbc.maps.m2mmapex3.Employee.phones" is mapped 
by it.
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.837 sec
Running org.apache.openjpa.persistence.embed.TestEmbeddableXml
Tests run: 6, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Running org.apache.openjpa.conf.TestBadJdbcUrl
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
0  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary".
1  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
0  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary".
1  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
1  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary".
0  test  INFO   [main] openjpa.Runtime - Starting OpenJPA 2.1.0-SNAPSHOT
0  test  INFO   [main] openjpa.jdbc.JDBC - Using dictionary class 
"org.apache.openjpa.jdbc.sql.DerbyDictionary".
Tests run: 5, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.151 sec
Running org.apache.openjpa.persistence.criteria.TestTypesafeCriteria
JPQL:[SELECT TYPE(e) FROM Employee e WHERE TYPE(e) <> Exempt]
CQL :[SELECT TYPE(e) FROM Employee e WHERE TYPE(e) <> Exempt
JPQL:[SELECT e.name, CASE WHEN e.rating = 1 THEN e.salary * 1.1 WHEN e.rating = 
2 THEN e.salary * 1.2 ELSE e.salary * 1.01 END FROM Employee e WHERE 
e.department.name = 'Engineering']
CQL :[SELECT e.name, CASE  WHEN e.rating = 1 THEN e.salary * 1.1 WHEN e.rating 
= 2 THEN e.salary * 1.2 ELSE e.salary * 1.01 END FROM Employee e WHERE 
e.department.name = 'Engineering'
JPQL:[SELECT p FROM Person p WHERE 1=1]
CQL :[SELECT * FROM Person p WHERE 1 = 1
JPQL:[SELECT p FROM Person p WHERE 1<>1]
CQL :[SELECT * FROM Person p WHERE 1 <> 1
JPQL:[SELECT p FROM Person p WHERE 1=1]
CQL :[SELECT * FROM Person p WHERE
JPQL:[SELECT p FROM Person p WHERE 1<>1]
CQL :[SELECT * FROM Person p WHERE
JPQL:[SELECT p FROM Person p WHERE 1<>1]
CQL :[SELECT * FROM Person p WHERE
JPQL:[SELECT p FROM Person p WHERE 1=1]
CQL :[SELECT * FROM Person p WHERE
JPQL:[SELECT o.quantity, o.totalCost*1.08, a.zipCode FROM Customer c JOIN 
c.orders o JOIN c.address a WHERE a.state = 'CA' AND a.county = 'Santa Clara']
CQL :[SELECT c.orders.quantity, c.orders.totalCost * 1.08, c.address.zipCode 
FROM Customer c INNER JOIN c.orders ?  INNER JOIN c.address ?  WHERE 
(c.address.state = 'CA' AND c.address.county = 'Santa Clara')
JPQL:[select a from Account a]
CQL :[SELECT a FROM Account a
JPQL:[select a from Account a]
CQL :[SELECT * FROM Account a
JPQL:[select a from Account a where a.balance=100]
CQL :[SELECT a FROM Account a WHERE a.balance = 100
JPQL:[select a from Account a where a.balance=a.loan]
CQL :[SELECT a FROM Account a WHERE a.balance = a.loan
JPQL:[select a.balance,a.loan from Account a]
CQL :[SELECT a.balance, a.loan FROM Account a
JPQL:[select a from Account a where abs(a.balance)=100]
CQL :[SELECT a FROM Account a WHERE ABS(a.balance) = 100
JPQL:[select avg(a.balance) from Account a]
CQL :[SELECT AVG(a.balance) FROM Account a
JPQL:[select a from Account a where a.name in ('X','Y','Z')]
CQL :[SELECT * FROM Account a WHERE a.name IN ('X','Y','Z')
JPQL:[select a from Account a where a.owner.name in ('X','Y','Z')]
CQL :[SELECT * FROM Account a WHERE a.owner.name IN ('X','Y','Z')
JPQL:[select a from Account a where a.balance>100 and a.balance<200]
CQL :[SELECT a FROM Account a WHERE (a.balance > 100 AND a.balance < 200)
JPQL:[select a from Account a where a.balance=abs(a.balance)]
CQL :[SELECT a FROM Account a WHERE a.balance = ABS(a.balance)
JPQL:[select a from Account a where a.balance between 100 and 200]
CQL :[SELECT a FROM Account a WHERE a.balance BETWEEN 100 AND 200
JPQL:[select a from Account a where a.owner.name='Pinaki']
CQL :[SELECT * FROM Account a WHERE a.owner.name = 'Pinaki'
JPQL:[SELECT c FROM Customer c LEFT JOIN c.orders o ]
CQL :[SELECT * FROM Customer c LEFT JOIN c.orders ?
JPQL:[select a from A a where a.b.age=22]
CQL :[SELECT * FROM A a WHERE a.b.age = 22
JPQL:[SELECT c FROM Customer c JOIN c.orders o JOIN o.lineItems i WHERE 
i.product.productType = 'printer']
CQL :[SELECT c FROM Customer c INNER JOIN c.orders ?  INNER JOIN 
c.orders.lineItems ?  WHERE c.orders.lineItems.product.productType = 'printer'
JPQL:[SELECT c FROM Customer c LEFT JOIN c.orders o WHERE c.status = 1]
CQL :[SELECT c FROM Customer c LEFT JOIN c.orders ?  WHERE c.status = 1
JPQL:[SELECT d FROM Department d LEFT JOIN FETCH d.employees WHERE d.deptNo = 1]
CQL :[SELECT d FROM Department d LEFT JOIN FETCH d.employees  WHERE d.deptNo = 1
JPQL:[SELECT p.vendor FROM Employee e JOIN e.contactInfo c JOIN c.phones p 
WHERE c.address.zipCode = '95054']
CQL :[SELECT e.contactInfo.phones.vendor FROM Employee e INNER JOIN 
e.contactInfo ?  INNER JOIN e.contactInfo.phones ?  WHERE 
e.contactInfo.address.zipCode = '95054'
JPQL:[select i.name, VALUE(p) from Item i join i.photos p where KEY(p) like 
'egret']
CQL :[SELECT i.name, i.photos FROM Item i INNER JOIN i.photos ?  WHERE 
KEY(i.photos) LIKE '%egret%'
JPQL:[SELECT t FROM CreditCard c JOIN c.transactionHistory t WHERE 
c.customer.accountNum = 321987 AND INDEX(t) BETWEEN 0 AND 9]
CQL :[SELECT c.transactionHistory FROM CreditCard c INNER JOIN 
c.transactionHistory ?  WHERE (c.customer.accountNum = 321987 AND 
INDEX(c.transactionHistory) BETWEEN 0 AND 9)
JPQL:[SELECT o FROM Order o WHERE o.lineItems IS EMPTY]
CQL :[SELECT o FROM Order o WHERE o.lineItems IS EMPTY
JPQL:[SELECT o.quantity, o.totalCost*1.08, a.zipCode FROM Customer c JOIN 
c.orders o JOIN c.address a WHERE a.state = 'CA' AND a.county = 'Santa Clara']
CQL :[SELECT c.orders.quantity, c.orders.totalCost * 1.08, c.address.zipCode 
FROM Customer c INNER JOIN c.address ?  INNER JOIN c.orders ?  WHERE 
(c.address.state = 'CA' AND c.address.county = 'Santa Clara')
JPQL:[SELECT w.name FROM Course c JOIN c.studentWaitList w WHERE c.name = 
'Calculus' AND INDEX(w) = 0]
CQL :[SELECT c.studentWaitList.name FROM Course c INNER JOIN c.studentWaitList 
?  WHERE (c.name = 'Calculus' AND INDEX(c.studentWaitList) = 0)
JPQL:[SELECT SUM(i.price) FROM Order o JOIN o.lineItems i JOIN o.customer c 
WHERE c.lastName = 'Smith' AND c.firstName = 'John']
CQL :[SELECT SUM(o.lineItems.price) FROM Order o INNER JOIN o.customer ?  INNER 
JOIN o.lineItems ?  WHERE (o.customer.lastName = 'Smith' AND 
o.customer.firstName = 'John')
JPQL:[SELECT SIZE(d.employees) FROM Department d WHERE d.name = 'Sales']
CQL :[SELECT SIZE(d.employees) FROM Department d WHERE d.name = 'Sales'
JPQL:[SELECT e.name, CASE WHEN e.rating = 1 THEN e.salary * 1.1 WHEN e.rating = 
2 THEN e.salary * 1.2 ELSE e.salary * 1.01 END FROM Employee e WHERE 
e.department.name = 'Engineering']
CQL :[SELECT e.name, CASE  WHEN e.rating = 1 THEN e.salary * 1.1 WHEN e.rating 
= 2 THEN e.salary * 1.2 ELSE e.salary * 1.01 END FROM Employee e WHERE 
e.department.name = 'Engineering'
JPQL:[SELECT o.quantity, o.totalCost*1.08, a.zipCode FROM Customer c JOIN 
c.orders o JOIN c.address a WHERE a.state = 'CA' AND a.county = 'Santa Clara']
CQL :[SELECT c.orders.quantity, c.orders.totalCost * 1.08, c.address.zipCode 
FROM Customer c INNER JOIN c.orders ?  INNER JOIN c.address ?  WHERE 
(c.address.state = 'CA' AND c.address.county = 'Santa Clara')
JPQL:[SELECT w.name FROM Course c JOIN c.studentWaitList w WHERE c.name = 
'Calculus' AND INDEX(w) = 0]
CQL :[SELECT c.studentWaitList.name FROM Course c INNER JOIN c.studentWaitList 
?  WHERE (c.name = 'Calculus' AND INDEX(c.studentWaitList) = 0)
Build timed out. Aborting
FATAL: channel is already closed
hudson.remoting.ChannelClosedException: channel is already closed
        at hudson.remoting.Channel.send(Channel.java:412)
        at hudson.remoting.Request.call(Request.java:105)
        at hudson.remoting.Channel.call(Channel.java:551)
        at hudson.Launcher$RemoteLauncher.kill(Launcher.java:735)
        at hudson.model.AbstractBuild$AbstractRunner.run(AbstractBuild.java:421)
        at hudson.model.Run.run(Run.java:1243)
        at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:304)
        at hudson.model.ResourceController.execute(ResourceController.java:88)
        at hudson.model.Executor.run(Executor.java:122)

Reply via email to