You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openjpa.apache.org by "Continuum@vmbuild.apache.org" <op...@incubator.apache.org> on 2007/04/06 01:07:56 UTC
[continuum] BUILD FAILURE: OpenJPA JPA JDBC
Online report : http://vmbuild.apache.org/continuum/servlet/continuum/target/ProjectBuild.vm/view/ProjectBuild/id/87/buildId/102080
Build statistics:
State: Failed
Previous State: Ok
Started at: Thu, 5 Apr 2007 16:02:47 -0700
Finished at: Thu, 5 Apr 2007 16:07:56 -0700
Total time: 5m 8s
Build Trigger: Schedule
Exit code: 1
Building machine hostname: vmbuild.apache.org
Operating system : Linux(unknown)
Java version : 1.5.0_06(Sun Microsystems Inc.)
Changes
pcl OPENJPA-182. Moved to API-based model. Query.setHint() can still be used via the query hint => fetch plan binding.
Removed the logic to override the forUpdate value, since the calling code already incorporates fetch configuration data into its decision about how to invoke toSelect(). Added a test case to assert this behavior.
Also cleaned up some minor whitespace issues, and reduced code duplication by moving a couple of concepts up into DBDictionary. Removed some seemingly-unnecessary overrides from H2Dictionary.
Added a test case for isolation level configuration. For non-DB2 dictionaries, it asserts that an exception is thrown during execution. Someone with DB2 knowledge / access should fill in the test case for the DB2 cases. As we add support for per-query isolation level configuration for other databases, we should change this test case.
/incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/DelegatingJDBCFetchConfiguration.java
/incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfiguration.java
/incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/JDBCFetchConfigurationImpl.java
/incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DB2Dictionary.java
/incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/DBDictionary.java
/incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/H2Dictionary.java
/incubator/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/HSQLDictionary.java
/incubator/openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/kernel/localizer.properties
/incubator/openjpa/trunk/openjpa-jdbc/src/main/resources/org/apache/openjpa/jdbc/sql/localizer.properties
/incubator/openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/JDBCFetchPlan.java
/incubator/openjpa/trunk/openjpa-persistence-jdbc/src/main/java/org/apache/openjpa/persistence/jdbc/JDBCFetchPlanImpl.java
/incubator/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc
/incubator/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestIsolationLevelOverride.java
/incubator/openjpa/trunk/openjpa-persistence-jdbc/src/test/java/org/apache/openjpa/persistence/jdbc/TestSelectForUpdateOverride.java
****************************************************************************
Output:
****************************************************************************
[INFO] Scanning for projects...
[INFO] ----------------------------------------------------------------------------
[INFO] Building OpenJPA JPA JDBC
[INFO] task-segment: [clean, install]
[INFO] ----------------------------------------------------------------------------
[INFO] [clean:clean]
[INFO] Deleting directory /x1/continuum/working-directory/87/target
[INFO] Deleting directory /x1/continuum/working-directory/87/target/classes
[INFO] Deleting directory /x1/continuum/working-directory/87/target/test-classes
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
[WARNING]
Artifact commons-collections:commons-collections:jar:3.2:test retains local scope 'test' overriding broader scope 'compile'
given by a dependency. If this is not intended, modify or remove the local scope.
[INFO] [compiler:compile]
Compiling 42 source files to /x1/continuum/working-directory/87/target/classes
[INFO] [resources:testResources]
[INFO] Using default encoding to copy filtered resources.
[INFO] [compiler:testCompile]
Compiling 129 source files to /x1/continuum/working-directory/87/target/test-classes
[INFO] [antrun:run {execution: default}]
[INFO] Executing tasks
2337 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.datacache.TestArrayFieldsInDataCache" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.datacache.TestArrayFieldsInDataCache" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.datacache.TestArrayFieldsInDataCache". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
2689 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.models.company.CompanyModelTest$1" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.models.company.CompanyModelTest$1" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.models.company.CompanyModelTest$1". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
4302 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.models.company.fetchlazy.TestLazyCompanyModel" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.models.company.fetchlazy.TestLazyCompanyModel" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.models.company.fetchlazy.TestLazyCompanyModel". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
5022 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.datacache.TestBulkJPQLAndDataCache" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.datacache.TestBulkJPQLAndDataCache" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.datacache.TestBulkJPQLAndDataCache". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
5654 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.query.TestQueryExcludingSubclasses" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.query.TestQueryExcludingSubclasses" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.query.TestQueryExcludingSubclasses". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
5703 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.test.PersistenceTestCase" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.test.PersistenceTestCase" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.test.PersistenceTestCase". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
6223 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.relations.ManyOneCompoundIdOwnerId" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.relations.ManyOneCompoundIdOwnerId" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.relations.ManyOneCompoundIdOwnerId". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
6376 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.conf.TestBadAutoDetachProperty" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.conf.TestBadAutoDetachProperty" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.conf.TestBadAutoDetachProperty". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
6410 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.detachment.TestDetachmentOneMany" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.detachment.TestDetachmentOneMany" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.detachment.TestDetachmentOneMany". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
6465 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.identity.TestSQLDateId" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.identity.TestSQLDateId" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.identity.TestSQLDateId". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
6662 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.callbacks.TestExceptionsFromCallbacks" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.callbacks.TestExceptionsFromCallbacks" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.callbacks.TestExceptionsFromCallbacks". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
7171 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.simple.TestEntityManagerMethodsThrowAfterClose" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.simple.TestEntityManagerMethodsThrowAfterClose" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.simple.TestEntityManagerMethodsThrowAfterClose". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
7266 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.inheritance.TestFindAbstractClass" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.inheritance.TestFindAbstractClass" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.inheritance.TestFindAbstractClass". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
9130 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.test.SingleEMTestCase" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.test.SingleEMTestCase" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.test.SingleEMTestCase". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
9510 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.detachment.TestGetReferenceAndImplicitDetachment" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.detachment.TestGetReferenceAndImplicitDetachment" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.detachment.TestGetReferenceAndImplicitDetachment". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
9765 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.models.company.joined.TestJoinedCompanyModel" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.models.company.joined.TestJoinedCompanyModel" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.models.company.joined.TestJoinedCompanyModel". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
10854 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.relations.TestCascadingOneManyWithForeignKey" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.relations.TestCascadingOneManyWithForeignKey" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.relations.TestCascadingOneManyWithForeignKey". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
11023 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.query.TestResultSetMapping" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.query.TestResultSetMapping" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.query.TestResultSetMapping". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
11306 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.query.TestQueryIdOfRelationDoesNotJoin" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.query.TestQueryIdOfRelationDoesNotJoin" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.query.TestQueryIdOfRelationDoesNotJoin". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
11521 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.relations.ManyOneCompoundIdOwnerId$Tokenizer" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.relations.ManyOneCompoundIdOwnerId$Tokenizer" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.relations.ManyOneCompoundIdOwnerId$Tokenizer". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
11562 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.relations.TestManyOneAsId" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.relations.TestManyOneAsId" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.relations.TestManyOneAsId". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
11685 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.relations.TestIdOrderedOneMany" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.relations.TestIdOrderedOneMany" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.relations.TestIdOrderedOneMany". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
11727 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.query.TestInMemoryQueryMatchEscapes" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.query.TestInMemoryQueryMatchEscapes" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.query.TestInMemoryQueryMatchEscapes". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
11999 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.jdbc.meta.TestMappingToolAutoDelete" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.jdbc.meta.TestMappingToolAutoDelete" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.jdbc.meta.TestMappingToolAutoDelete". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
12033 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.datacache.TestDataCacheOptimisticLockRecovery" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.datacache.TestDataCacheOptimisticLockRecovery" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.datacache.TestDataCacheOptimisticLockRecovery". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
12085 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.xml.TestXmlOverrideEntity" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.xml.TestXmlOverrideEntity" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.xml.TestXmlOverrideEntity". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
12354 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.relations.TestTargetedIFaceRelations" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.relations.TestTargetedIFaceRelations" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.relations.TestTargetedIFaceRelations". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
12579 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.simple.TestCaseInsensitiveKeywordsInJPQL" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.simple.TestCaseInsensitiveKeywordsInJPQL" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.simple.TestCaseInsensitiveKeywordsInJPQL". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
12699 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.jdbc.TestSelectForUpdateOverride" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.jdbc.TestSelectForUpdateOverride" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.jdbc.TestSelectForUpdateOverride". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
13177 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.conf.TestAutoDetachProperty" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.conf.TestAutoDetachProperty" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.conf.TestAutoDetachProperty". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
13211 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.identity.TestGenerationType" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.identity.TestGenerationType" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.identity.TestGenerationType". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
13365 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.simple.TestPersistence" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.simple.TestPersistence" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.simple.TestPersistence". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
13399 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.models.company.idclass.TestIdClassCompanyModel" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.models.company.idclass.TestIdClassCompanyModel" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.models.company.idclass.TestIdClassCompanyModel". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
13742 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.callbacks.ExceptionsFromCallbacksEntity$CallbackTestException" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.callbacks.ExceptionsFromCallbacksEntity$CallbackTestException" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.callbacks.ExceptionsFromCallbacksEntity$CallbackTestException". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
13752 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.simple.TestEntityManagerClear" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.simple.TestEntityManagerClear" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.simple.TestEntityManagerClear". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
13780 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.test.SingleEMFTestCase" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.test.SingleEMFTestCase" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.test.SingleEMFTestCase". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
13986 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.inheritance.TestMultipleMappedSuperclassHierarchy" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.inheritance.TestMultipleMappedSuperclassHierarchy" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.inheritance.TestMultipleMappedSuperclassHierarchy". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
14356 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.test.SQLListenerTestCase$Listener" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.test.SQLListenerTestCase$Listener" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.test.SQLListenerTestCase$Listener". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
14373 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.detachment.TestAttachWithNoChanges" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.detachment.TestAttachWithNoChanges" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.detachment.TestAttachWithNoChanges". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
14457 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.simple.TestTableNamesDefaultToEntityNames" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.simple.TestTableNamesDefaultToEntityNames" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.simple.TestTableNamesDefaultToEntityNames". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
14885 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.kernel.TestQueryCompilationCache" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.kernel.TestQueryCompilationCache" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.kernel.TestQueryCompilationCache". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
14920 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.test.SQLListenerTestCase" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.test.SQLListenerTestCase" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.test.SQLListenerTestCase". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
15249 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.query.TestAbstractSchemaName" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.query.TestAbstractSchemaName" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.query.TestAbstractSchemaName". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
15440 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.xml.TestSimpleXmlEntity" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.xml.TestSimpleXmlEntity" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.xml.TestSimpleXmlEntity". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
15465 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.relations.TestMultipleSameTypedEmbeddedWithEagerRelations" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.relations.TestMultipleSameTypedEmbeddedWithEagerRelations" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.relations.TestMultipleSameTypedEmbeddedWithEagerRelations". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
15513 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.models.company.CompanyModelTest" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.models.company.CompanyModelTest" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.models.company.CompanyModelTest". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
15605 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.models.company.basic.TestBasicCompanyModel" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.models.company.basic.TestBasicCompanyModel" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.models.company.basic.TestBasicCompanyModel". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
15615 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.inheritance.TestSharedMappedSuperclassIdValue" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.inheritance.TestSharedMappedSuperclassIdValue" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.inheritance.TestSharedMappedSuperclassIdValue". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
15796 test WARN [main] openjpa.Enhance - Type "class org.apache.openjpa.persistence.jdbc.TestIsolationLevelOverride" has no metadata; enhancing as persistence aware. If you intended for "class org.apache.openjpa.persistence.jdbc.TestIsolationLevelOverride" to be persistence-capable, then this means that OpenJPA could not find any metadata for "class org.apache.openjpa.persistence.jdbc.TestIsolationLevelOverride". This can happen if the directory containing your metadata is not in your CLASSPATH, or if your metadata files are not named properly. See the documentation on metadata placement for more information.
[INFO] Executed tasks
[INFO] [surefire:test]
[INFO] Surefire report directory: /x1/continuum/working-directory/87/target/surefire-reports
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running org.apache.openjpa.conf.TestAutoDetachProperty
75 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
319 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
7596 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
4 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
6 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
46 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
14 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.44 sec
Running org.apache.openjpa.persistence.query.TestResultSetMapping
3 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
7 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
12 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.597 sec <<< FAILURE!
testSimpleQuery(org.apache.openjpa.persistence.query.TestResultSetMapping) Time elapsed: 0.582 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.query.TestResultSetMapping.setUp(TestResultSetMapping.java:35)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 22 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
2 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
3 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 40 more
Running org.apache.openjpa.persistence.query.TestAbstractSchemaName
9 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.379 sec <<< FAILURE!
testQuery(org.apache.openjpa.persistence.query.TestAbstractSchemaName) Time elapsed: 0.366 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.query.TestAbstractSchemaName.setUp(TestAbstractSchemaName.java:42)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 22 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 40 more
Running org.apache.openjpa.persistence.models.company.joined.TestJoinedCompanyModel
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
6 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 49.898 sec
Running org.apache.openjpa.persistence.detachment.TestGetReferenceAndImplicitDetachment
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
6 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.723 sec
Running org.apache.openjpa.persistence.relations.TestCascadingOneManyWithForeignKey
4 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
4 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
10 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
5 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
6 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.875 sec <<< FAILURE!
testPersist(org.apache.openjpa.persistence.relations.TestCascadingOneManyWithForeignKey) Time elapsed: 0.55 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.relations.TestCascadingOneManyWithForeignKey.testPersist(TestCascadingOneManyWithForeignKey.java:50)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 27 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 45 more
testDelete(org.apache.openjpa.persistence.relations.TestCascadingOneManyWithForeignKey) Time elapsed: 0.14 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.relations.TestCascadingOneManyWithForeignKey.testDelete(TestCascadingOneManyWithForeignKey.java:79)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 27 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 45 more
testForeignKey(org.apache.openjpa.persistence.relations.TestCascadingOneManyWithForeignKey) Time elapsed: 0.165 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.relations.TestCascadingOneManyWithForeignKey.testForeignKey(TestCascadingOneManyWithForeignKey.java:122)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 27 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 45 more
Running org.apache.openjpa.persistence.relations.TestManyOneAsId
10 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
11 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
16 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
2 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
3 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
6 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
2 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
3 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
9 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
2 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
2 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
6 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
12 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 10, Failures: 0, Errors: 10, Skipped: 0, Time elapsed: 63.359 sec <<< FAILURE!
testQuery(org.apache.openjpa.persistence.relations.TestManyOneAsId) Time elapsed: 1.331 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.relations.BasicEntity.pcFetchObjectId(BasicEntity.java)
at org.apache.openjpa.persistence.relations.ManyOneIdOwner.pcNewObjectIdInstance(ManyOneIdOwner.java)
at org.apache.openjpa.util.ApplicationIds.create(ApplicationIds.java:350)
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2382)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
at org.apache.openjpa.persistence.relations.TestManyOneAsId.setUp(TestManyOneAsId.java:84)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testRetrieveWithManyOneId(org.apache.openjpa.persistence.relations.TestManyOneAsId) Time elapsed: 0.196 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.relations.BasicEntity.pcFetchObjectId(BasicEntity.java)
at org.apache.openjpa.persistence.relations.ManyOneIdOwner.pcNewObjectIdInstance(ManyOneIdOwner.java)
at org.apache.openjpa.util.ApplicationIds.create(ApplicationIds.java:350)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2382)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
at org.apache.openjpa.persistence.relations.TestManyOneAsId.setUp(TestManyOneAsId.java:84)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testRetrieveWithDataStoreManyOneId(org.apache.openjpa.persistence.relations.TestManyOneAsId) Time elapsed: 0.193 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.relations.BasicEntity.pcFetchObjectId(BasicEntity.java)
at org.apache.openjpa.persistence.relations.ManyOneIdOwner.pcNewObjectIdInstance(ManyOneIdOwner.java)
at org.apache.openjpa.util.ApplicationIds.create(ApplicationIds.java:350)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2382)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
at org.apache.openjpa.persistence.relations.TestManyOneAsId.setUp(TestManyOneAsId.java:84)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testRetrieveWithCompoundManyOneId(org.apache.openjpa.persistence.relations.TestManyOneAsId) Time elapsed: 0.171 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.relations.BasicEntity.pcFetchObjectId(BasicEntity.java)
at org.apache.openjpa.persistence.relations.ManyOneIdOwner.pcNewObjectIdInstance(ManyOneIdOwner.java)
at org.apache.openjpa.util.ApplicationIds.create(ApplicationIds.java:350)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2382)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
at org.apache.openjpa.persistence.relations.TestManyOneAsId.setUp(TestManyOneAsId.java:84)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testAttemptToChangeManyOne(org.apache.openjpa.persistence.relations.TestManyOneAsId) Time elapsed: 0.218 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.relations.BasicEntity.pcFetchObjectId(BasicEntity.java)
at org.apache.openjpa.persistence.relations.ManyOneIdOwner.pcNewObjectIdInstance(ManyOneIdOwner.java)
at org.apache.openjpa.util.ApplicationIds.create(ApplicationIds.java:350)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2382)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
at org.apache.openjpa.persistence.relations.TestManyOneAsId.setUp(TestManyOneAsId.java:84)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testChangeRelationToManyOneOwner(org.apache.openjpa.persistence.relations.TestManyOneAsId) Time elapsed: 0.145 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.relations.BasicEntity.pcFetchObjectId(BasicEntity.java)
at org.apache.openjpa.persistence.relations.ManyOneIdOwner.pcNewObjectIdInstance(ManyOneIdOwner.java)
at org.apache.openjpa.util.ApplicationIds.create(ApplicationIds.java:350)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2382)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
at org.apache.openjpa.persistence.relations.TestManyOneAsId.setUp(TestManyOneAsId.java:84)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testChangeRelationToDataStoreManyOneOwner(org.apache.openjpa.persistence.relations.TestManyOneAsId) Time elapsed: 0.178 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.relations.BasicEntity.pcFetchObjectId(BasicEntity.java)
at org.apache.openjpa.persistence.relations.ManyOneIdOwner.pcNewObjectIdInstance(ManyOneIdOwner.java)
at org.apache.openjpa.util.ApplicationIds.create(ApplicationIds.java:350)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2382)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
at org.apache.openjpa.persistence.relations.TestManyOneAsId.setUp(TestManyOneAsId.java:84)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testChangeRelationToCompoundManyOneOwner(org.apache.openjpa.persistence.relations.TestManyOneAsId) Time elapsed: 0.16 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.relations.BasicEntity.pcFetchObjectId(BasicEntity.java)
at org.apache.openjpa.persistence.relations.ManyOneIdOwner.pcNewObjectIdInstance(ManyOneIdOwner.java)
at org.apache.openjpa.util.ApplicationIds.create(ApplicationIds.java:350)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2382)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
at org.apache.openjpa.persistence.relations.TestManyOneAsId.setUp(TestManyOneAsId.java:84)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testDataStoreQuery(org.apache.openjpa.persistence.relations.TestManyOneAsId) Time elapsed: 0.176 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.relations.BasicEntity.pcFetchObjectId(BasicEntity.java)
at org.apache.openjpa.persistence.relations.ManyOneIdOwner.pcNewObjectIdInstance(ManyOneIdOwner.java)
at org.apache.openjpa.util.ApplicationIds.create(ApplicationIds.java:350)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2382)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
at org.apache.openjpa.persistence.relations.TestManyOneAsId.setUp(TestManyOneAsId.java:84)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testCompoundQuery(org.apache.openjpa.persistence.relations.TestManyOneAsId) Time elapsed: 60.565 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.relations.BasicEntity.pcFetchObjectId(BasicEntity.java)
at org.apache.openjpa.persistence.relations.ManyOneIdOwner.pcNewObjectIdInstance(ManyOneIdOwner.java)
at org.apache.openjpa.util.ApplicationIds.create(ApplicationIds.java:350)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2382)
at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2228)
at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:1007)
at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:538)
at org.apache.openjpa.persistence.relations.TestManyOneAsId.setUp(TestManyOneAsId.java:84)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
Running org.apache.openjpa.persistence.detachment.TestDetachmentOneMany
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
5 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.534 sec <<< FAILURE!
testDetachment(org.apache.openjpa.persistence.detachment.TestDetachmentOneMany) Time elapsed: 0.179 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.detachment.TestDetachmentOneMany.createParentAndChildren(TestDetachmentOneMany.java:96)
at org.apache.openjpa.persistence.detachment.TestDetachmentOneMany.testDetachment(TestDetachmentOneMany.java:38)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 28 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 46 more
testFetchWithDetach(org.apache.openjpa.persistence.detachment.TestDetachmentOneMany) Time elapsed: 0.199 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.detachment.TestDetachmentOneMany.createParentAndChildren(TestDetachmentOneMany.java:96)
at org.apache.openjpa.persistence.detachment.TestDetachmentOneMany.testFetchWithDetach(TestDetachmentOneMany.java:50)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 28 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 46 more
testFetchWithDetachForToOneRelationship(org.apache.openjpa.persistence.detachment.TestDetachmentOneMany) Time elapsed: 0.128 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.detachment.TestDetachmentOneMany.createParentAndChildren(TestDetachmentOneMany.java:96)
at org.apache.openjpa.persistence.detachment.TestDetachmentOneMany.testFetchWithDetachForToOneRelationship(TestDetachmentOneMany.java:71)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
2 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 28 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 46 more
Running org.apache.openjpa.persistence.identity.TestSQLDateId
3 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
14 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.33 sec
Running org.apache.openjpa.persistence.models.company.fetchlazy.TestLazyCompanyModel
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 3.254 sec <<< FAILURE!
testBasicQueries(org.apache.openjpa.persistence.models.company.fetchlazy.TestLazyCompanyModel) Time elapsed: 3.225 sec <<< ERROR!
<0.0.0 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: null
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:800)
at org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:858)
at org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:854)
at org.apache.openjpa.kernel.DelegatingQuery.deleteAll(DelegatingQuery.java:538)
at org.apache.openjpa.persistence.QueryImpl.executeUpdate(QueryImpl.java:301)
at org.apache.openjpa.persistence.test.PersistenceTestCase.clear(PersistenceTestCase.java:136)
at org.apache.openjpa.persistence.test.PersistenceTestCase.clear(PersistenceTestCase.java:109)
at org.apache.openjpa.persistence.models.company.CompanyModelTest.checkModel(CompanyModelTest.java:169)
at org.apache.openjpa.persistence.models.company.CompanyModelTest.setUp(CompanyModelTest.java:53)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:1959)
at org.apache.openjpa.jdbc.sql.SelectImpl.toSelect(SelectImpl.java:200)
at org.apache.openjpa.jdbc.sql.DBDictionary.toBulkOperation(DBDictionary.java:1834)
at org.apache.openjpa.jdbc.sql.DBDictionary.toDelete(DBDictionary.java:1749)
at org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeBulkOperation(JDBCStoreQuery.java:478)
at org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeDelete(JDBCStoreQuery.java:420)
at org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.executeDelete(ExpressionStoreQuery.java:679)
at org.apache.openjpa.kernel.QueryImpl.delete(QueryImpl.java:1000)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:793)
... 29 more
Running org.apache.openjpa.persistence.inheritance.TestFindAbstractClass
3 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
3 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
6 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.585 sec
Running org.apache.openjpa.persistence.inheritance.TestSharedMappedSuperclassIdValue
5 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
5 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
9 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.705 sec
Running org.apache.openjpa.persistence.models.company.basic.TestBasicCompanyModel
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.886 sec <<< FAILURE!
testBasicQueries(org.apache.openjpa.persistence.models.company.basic.TestBasicCompanyModel) Time elapsed: 2.86 sec <<< ERROR!
<0.0.0 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: null
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:800)
at org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:858)
at org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:854)
at org.apache.openjpa.kernel.DelegatingQuery.deleteAll(DelegatingQuery.java:538)
at org.apache.openjpa.persistence.QueryImpl.executeUpdate(QueryImpl.java:301)
at org.apache.openjpa.persistence.test.PersistenceTestCase.clear(PersistenceTestCase.java:136)
at org.apache.openjpa.persistence.test.PersistenceTestCase.clear(PersistenceTestCase.java:109)
at org.apache.openjpa.persistence.models.company.CompanyModelTest.checkModel(CompanyModelTest.java:169)
at org.apache.openjpa.persistence.models.company.CompanyModelTest.setUp(CompanyModelTest.java:53)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:1959)
at org.apache.openjpa.jdbc.sql.SelectImpl.toSelect(SelectImpl.java:200)
at org.apache.openjpa.jdbc.sql.DBDictionary.toBulkOperation(DBDictionary.java:1834)
at org.apache.openjpa.jdbc.sql.DBDictionary.toDelete(DBDictionary.java:1749)
at org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeBulkOperation(JDBCStoreQuery.java:478)
at org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeDelete(JDBCStoreQuery.java:420)
at org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.executeDelete(ExpressionStoreQuery.java:679)
at org.apache.openjpa.kernel.QueryImpl.delete(QueryImpl.java:1000)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:793)
... 29 more
Running org.apache.openjpa.persistence.simple.TestTableNamesDefaultToEntityNames
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
35 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.204 sec
Running org.apache.openjpa.persistence.simple.TestCaseInsensitiveKeywordsInJPQL
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
7 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
35 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
273 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.375 sec <<< FAILURE!
testCaseInsensitiveBooleans(org.apache.openjpa.persistence.simple.TestCaseInsensitiveKeywordsInJPQL) Time elapsed: 0.354 sec <<< ERROR!
<0.0.0 fatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:546)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1629)
at org.apache.openjpa.kernel.DelegatingBroker.flush(DelegatingBroker.java:975)
at org.apache.openjpa.persistence.EntityManagerImpl.flush(EntityManagerImpl.java:486)
at org.apache.openjpa.persistence.simple.TestCaseInsensitiveKeywordsInJPQL.testCaseInsensitiveBooleans(TestCaseInsensitiveKeywordsInJPQL.java:42)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
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:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 38 more
Running org.apache.openjpa.kernel.TestQueryCompilationCache
13 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
14 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
19 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.141 sec
Running org.apache.openjpa.persistence.simple.TestEntityManagerClear
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
23 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
72 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.111 sec <<< FAILURE!
testClear(org.apache.openjpa.persistence.simple.TestEntityManagerClear) Time elapsed: 0.096 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: The transaction cannot be committed, because it was already marked for rollback only. The transaction will be rolled back instead. The cause of the rollback-only status is reported in the embedded stack.
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.test.SingleEMTestCase.rollback(SingleEMTestCase.java:84)
at org.apache.openjpa.persistence.test.SingleEMTestCase.tearDown(SingleEMTestCase.java:44)
at junit.framework.TestCase.runBare(TestCase.java:130)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 fatal general error> org.apache.openjpa.persistence.PersistenceException: The transaction cannot be committed, because it was already marked for rollback only. The transaction will be rolled back instead. The cause of the rollback-only status is reported in the embedded stack.
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:85)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 22 more
Caused by: <0.0.0 fatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:546)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1629)
at org.apache.openjpa.kernel.DelegatingBroker.flush(DelegatingBroker.java:975)
at org.apache.openjpa.persistence.EntityManagerImpl.flush(EntityManagerImpl.java:486)
at org.apache.openjpa.persistence.simple.TestEntityManagerClear.testClear(TestEntityManagerClear.java:43)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
3 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
4 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
... 19 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 37 more
Running org.apache.openjpa.persistence.relations.TestTargetedIFaceRelations
14 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.508 sec <<< FAILURE!
testPersist(org.apache.openjpa.persistence.relations.TestTargetedIFaceRelations) Time elapsed: 0.472 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.relations.TestTargetedIFaceRelations.testPersist(TestTargetedIFaceRelations.java:46)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 26 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 44 more
Running org.apache.openjpa.conf.TestBadAutoDetachProperty
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
5 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.122 sec
Running org.apache.openjpa.persistence.xml.TestSimpleXmlEntity
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
2 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
5 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
14 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 60.623 sec
Running org.apache.openjpa.persistence.inheritance.TestMultipleMappedSuperclassHierarchy
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
0 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.127 sec <<< FAILURE!
testPersist(org.apache.openjpa.persistence.inheritance.TestMultipleMappedSuperclassHierarchy) Time elapsed: 0.106 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.inheritance.TestMultipleMappedSuperclassHierarchy.testPersist(TestMultipleMappedSuperclassHierarchy.java:45)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 26 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 44 more
Running org.apache.openjpa.persistence.identity.TestGenerationType
0 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
5 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
6 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
0 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
13 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
15 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.573 sec
Running org.apache.openjpa.persistence.relations.TestIdOrderedOneMany
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
9 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.731 sec <<< FAILURE!
testExplicitOrdering(org.apache.openjpa.persistence.relations.TestIdOrderedOneMany) Time elapsed: 0.6 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.relations.TestIdOrderedOneMany.setUp(TestIdOrderedOneMany.java:59)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 21 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testImplicitOrdering(org.apache.openjpa.persistence.relations.TestIdOrderedOneMany) Time elapsed: 0.101 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.relations.TestIdOrderedOneMany.setUp(TestIdOrderedOneMany.java:59)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 21 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
Running org.apache.openjpa.persistence.callbacks.TestExceptionsFromCallbacks
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
5 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
0 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
3 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
5 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
2 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
5 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 4, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 61.019 sec
Running org.apache.openjpa.persistence.models.company.idclass.TestIdClassCompanyModel
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 2.505 sec <<< FAILURE!
testBasicQueries(org.apache.openjpa.persistence.models.company.idclass.TestIdClassCompanyModel) Time elapsed: 2.48 sec <<< ERROR!
<0.0.0 nonfatal user error> org.apache.openjpa.persistence.ArgumentException: null
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:800)
at org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:858)
at org.apache.openjpa.kernel.QueryImpl.deleteAll(QueryImpl.java:854)
at org.apache.openjpa.kernel.DelegatingQuery.deleteAll(DelegatingQuery.java:538)
at org.apache.openjpa.persistence.QueryImpl.executeUpdate(QueryImpl.java:301)
at org.apache.openjpa.persistence.test.PersistenceTestCase.clear(PersistenceTestCase.java:136)
at org.apache.openjpa.persistence.test.PersistenceTestCase.clear(PersistenceTestCase.java:109)
at org.apache.openjpa.persistence.models.company.CompanyModelTest.checkModel(CompanyModelTest.java:169)
at org.apache.openjpa.persistence.models.company.CompanyModelTest.setUp(CompanyModelTest.java:53)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:1959)
at org.apache.openjpa.jdbc.sql.SelectImpl.toSelect(SelectImpl.java:200)
at org.apache.openjpa.jdbc.sql.DBDictionary.toBulkOperation(DBDictionary.java:1834)
at org.apache.openjpa.jdbc.sql.DBDictionary.toDelete(DBDictionary.java:1749)
at org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeBulkOperation(JDBCStoreQuery.java:478)
at org.apache.openjpa.jdbc.kernel.JDBCStoreQuery.executeDelete(JDBCStoreQuery.java:420)
at org.apache.openjpa.kernel.ExpressionStoreQuery$DataStoreExecutor.executeDelete(ExpressionStoreQuery.java:679)
at org.apache.openjpa.kernel.QueryImpl.delete(QueryImpl.java:1000)
at org.apache.openjpa.kernel.QueryImpl.execute(QueryImpl.java:793)
... 28 more
Running org.apache.openjpa.jdbc.meta.TestMappingToolAutoDelete
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
27 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
109 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.151 sec <<< FAILURE!
testMappingToolAutoDelete(org.apache.openjpa.jdbc.meta.TestMappingToolAutoDelete) Time elapsed: 0.124 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.jdbc.meta.TestMappingToolAutoDelete.setUp(TestMappingToolAutoDelete.java:37)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:546)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 21 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 34 more
Running org.apache.openjpa.persistence.query.TestInMemoryQueryMatchEscapes
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
30 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
127 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
19 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
69 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
82 test INFO [main] openjpa.Query - This query on type "class org.apache.openjpa.persistence.simple.AllFieldTypes" must load the entire candidate class extent and evaluate the query in-memory. This may be very slow. The query must be executed in memory because OpenJPA is configured with IgnoreCache=false and FlushBeforeQueries=false and there are dirty instances that may affect the query's outcome in the cache.
Tests run: 2, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.394 sec <<< FAILURE!
testDatabaseEscape(org.apache.openjpa.persistence.query.TestInMemoryQueryMatchEscapes) Time elapsed: 0.153 sec <<< ERROR!
<0.0.0 fatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:546)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1629)
at org.apache.openjpa.kernel.DelegatingBroker.flush(DelegatingBroker.java:975)
at org.apache.openjpa.persistence.EntityManagerImpl.flush(EntityManagerImpl.java:486)
at org.apache.openjpa.persistence.query.TestInMemoryQueryMatchEscapes.testDatabaseEscape(TestInMemoryQueryMatchEscapes.java:35)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 37 more
Running org.apache.openjpa.persistence.datacache.TestArrayFieldsInDataCache
55 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
106 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
19 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
98 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.27 sec <<< FAILURE!
testArrayOfStrings(org.apache.openjpa.persistence.datacache.TestArrayFieldsInDataCache) Time elapsed: 0.12 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.datacache.TestArrayFieldsInDataCache.setUp(TestArrayFieldsInDataCache.java:34)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:546)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 21 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 35 more
testArrayOfInts(org.apache.openjpa.persistence.datacache.TestArrayFieldsInDataCache) Time elapsed: 0.122 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.datacache.TestArrayFieldsInDataCache.setUp(TestArrayFieldsInDataCache.java:34)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:546)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 21 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
7 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
8 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
12 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 35 more
Running org.apache.openjpa.persistence.xml.TestXmlOverrideEntity
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.13 sec <<< FAILURE!
testOptionalAttributeOverride(org.apache.openjpa.persistence.xml.TestXmlOverrideEntity) Time elapsed: 0.101 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.xml.TestXmlOverrideEntity.testOptionalAttributeOverride(TestXmlOverrideEntity.java:33)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 26 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 44 more
Running org.apache.openjpa.persistence.datacache.TestBulkJPQLAndDataCache
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
28 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
686 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
7 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
10 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
29 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
82 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
28 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
85 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
Tests run: 3, Failures: 0, Errors: 3, Skipped: 0, Time elapsed: 0.949 sec <<< FAILURE!
testBulkDelete(org.apache.openjpa.persistence.datacache.TestBulkJPQLAndDataCache) Time elapsed: 0.7 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:546)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.simple.AllFieldTypes.pcFetchObjectId(AllFieldTypes.java)
at org.apache.openjpa.kernel.BrokerImpl.getObjectId(BrokerImpl.java:4131)
at org.apache.openjpa.kernel.DelegatingBroker.getObjectId(DelegatingBroker.java:398)
at org.apache.openjpa.persistence.EntityManagerImpl.getObjectId(EntityManagerImpl.java:1019)
at org.apache.openjpa.persistence.datacache.TestBulkJPQLAndDataCache.setUp(TestBulkJPQLAndDataCache.java:27)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 31 more
testBulkUpdate(org.apache.openjpa.persistence.datacache.TestBulkJPQLAndDataCache) Time elapsed: 0.104 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:546)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.simple.AllFieldTypes.pcFetchObjectId(AllFieldTypes.java)
9 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
at org.apache.openjpa.kernel.BrokerImpl.getObjectId(BrokerImpl.java:4131)
at org.apache.openjpa.kernel.DelegatingBroker.getObjectId(DelegatingBroker.java:398)
at org.apache.openjpa.persistence.EntityManagerImpl.getObjectId(EntityManagerImpl.java:1019)
at org.apache.openjpa.persistence.datacache.TestBulkJPQLAndDataCache.setUp(TestBulkJPQLAndDataCache.java:27)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
32 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
... 31 more
testBulkDeleteOfCascadingEntity(org.apache.openjpa.persistence.datacache.TestBulkJPQLAndDataCache) Time elapsed: 0.098 sec <<< ERROR!
<0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:546)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:456)
at org.apache.openjpa.kernel.StateManagerImpl.fetchObjectId(StateManagerImpl.java:1301)
at org.apache.openjpa.persistence.simple.AllFieldTypes.pcFetchObjectId(AllFieldTypes.java)
at org.apache.openjpa.kernel.BrokerImpl.getObjectId(BrokerImpl.java:4131)
at org.apache.openjpa.kernel.DelegatingBroker.getObjectId(DelegatingBroker.java:398)
at org.apache.openjpa.persistence.EntityManagerImpl.getObjectId(EntityManagerImpl.java:1019)
at org.apache.openjpa.persistence.datacache.TestBulkJPQLAndDataCache.setUp(TestBulkJPQLAndDataCache.java:27)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 31 more
Running org.apache.openjpa.persistence.jdbc.TestSelectForUpdateOverride
79 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.207 sec
Running org.apache.openjpa.persistence.jdbc.TestIsolationLevelOverride
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
10 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
31 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
71 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.148 sec
Running org.apache.openjpa.persistence.simple.TestEntityManagerMethodsThrowAfterClose
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
25 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
17 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
18 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
4 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
4 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
14 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
50 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
17 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
11 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
90 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
0 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
3 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
18 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
0 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
3 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
17 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
0 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
3 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
20 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
2 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
5 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
23 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
22 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
2 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
25 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
21 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
3 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
21 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
0 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
3 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
19 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
28 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
0 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
3 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
32 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
17 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
5 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
10 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
79 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 1.616 sec
Running org.apache.openjpa.persistence.query.TestQueryIdOfRelationDoesNotJoin
2 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
2 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
5 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.553 sec <<< FAILURE!
testQuery(org.apache.openjpa.persistence.query.TestQueryIdOfRelationDoesNotJoin) Time elapsed: 0.532 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.query.TestQueryIdOfRelationDoesNotJoin.setUp(TestQueryIdOfRelationDoesNotJoin.java:51)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 21 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
Running org.apache.openjpa.persistence.detachment.TestAttachWithNoChanges
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
5 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.151 sec <<< FAILURE!
testAttachWithNoChangesChecksVersion(org.apache.openjpa.persistence.detachment.TestAttachWithNoChanges) Time elapsed: 0.126 sec <<< ERROR!
<0.0.0 fatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1629)
at org.apache.openjpa.kernel.DelegatingBroker.flush(DelegatingBroker.java:975)
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
at org.apache.openjpa.persistence.EntityManagerImpl.flush(EntityManagerImpl.java:486)
at org.apache.openjpa.persistence.detachment.TestAttachWithNoChanges.testAttachWithNoChangesChecksVersion(TestAttachWithNoChanges.java:47)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 42 more
Running org.apache.openjpa.persistence.simple.TestPersistence
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
19 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
7 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
20 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
52 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
19 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
62 test WARN [main] openjpa.MetaData - OpenJPA cannot map field "org.apache.openjpa.persistence.simple.AllFieldTypes.arrayOfInts" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default.
Tests run: 3, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.257 sec <<< FAILURE!
testPersist(org.apache.openjpa.persistence.simple.TestPersistence) Time elapsed: 0.087 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.simple.TestPersistence.testPersist(TestPersistence.java:58)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:546)
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 26 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testQuery(org.apache.openjpa.persistence.simple.TestPersistence) Time elapsed: 0.086 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.simple.TestPersistence.testQuery(TestPersistence.java:69)
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:585)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:546)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 26 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
Running org.apache.openjpa.persistence.datacache.TestDataCacheOptimisticLockRecovery
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
5 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
15 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.551 sec <<< FAILURE!
testOptimisticLockRecovery(org.apache.openjpa.persistence.datacache.TestDataCacheOptimisticLockRecovery) Time elapsed: 0.378 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.datacache.TestDataCacheOptimisticLockRecovery.setUp(TestDataCacheOptimisticLockRecovery.java:43)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 21 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 40 more
testExpectedOptimisticLockException(org.apache.openjpa.persistence.datacache.TestDataCacheOptimisticLockRecovery) Time elapsed: 0.124 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.datacache.TestDataCacheOptimisticLockRecovery.setUp(TestDataCacheOptimisticLockRecovery.java:43)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 21 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 40 more
Running org.apache.openjpa.persistence.query.TestQueryExcludingSubclasses
1 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
0 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
1 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
4 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 0.187 sec <<< FAILURE!
testQuery(org.apache.openjpa.persistence.query.TestQueryExcludingSubclasses) Time elapsed: 0.077 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.query.TestQueryExcludingSubclasses.setUp(TestQueryExcludingSubclasses.java:58)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 21 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
testQueryExcludingSubclasses(org.apache.openjpa.persistence.query.TestQueryExcludingSubclasses) Time elapsed: 0.074 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.query.TestQueryExcludingSubclasses.setUp(TestQueryExcludingSubclasses.java:58)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
4 test INFO [main] openjpa.Runtime - Starting OpenJPA 0.0.0
5 test INFO [main] openjpa.jdbc.JDBC - OpenJPA will now connect to the database to attempt to determine what type of database dictionary to use. To prevent this connection in the future, set your openjpa.jdbc.DBDictionary configuration property to the appropriate value for your database (see the documentation for available values).
9 test INFO [main] openjpa.jdbc.JDBC - Using dictionary class "org.apache.openjpa.jdbc.sql.DerbyDictionary" (Apache Derby 10.2.2.0 - (485682) ,Apache Derby Embedded JDBC Driver 10.2.2.0 - (485682)).
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 21 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
Running org.apache.openjpa.persistence.relations.TestMultipleSameTypedEmbeddedWithEagerRelations
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.535 sec <<< FAILURE!
testQuery(org.apache.openjpa.persistence.relations.TestMultipleSameTypedEmbeddedWithEagerRelations) Time elapsed: 0.495 sec <<< ERROR!
<0.0.0 fatal store error> org.apache.openjpa.persistence.RollbackException: null
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:417)
at org.apache.openjpa.persistence.relations.TestMultipleSameTypedEmbeddedWithEagerRelations.setUp(TestMultipleSameTypedEmbeddedWithEagerRelations.java:58)
at junit.framework.TestCase.runBare(TestCase.java:125)
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 junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.GeneratedMethodAccessor130.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
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:585)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
Caused by: <0.0.0 nonfatal general error> org.apache.openjpa.persistence.PersistenceException: null
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:64)
at org.apache.openjpa.util.ImplHelper.generateValue(ImplHelper.java:129)
at org.apache.openjpa.util.ImplHelper.generateFieldValue(ImplHelper.java:113)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignField(JDBCStoreManager.java:554)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:407)
at org.apache.openjpa.util.ApplicationIds.assign(ApplicationIds.java:392)
at org.apache.openjpa.jdbc.kernel.JDBCStoreManager.assignObjectId(JDBCStoreManager.java:538)
at org.apache.openjpa.kernel.DelegatingStoreManager.assignObjectId(DelegatingStoreManager.java:131)
at org.apache.openjpa.kernel.StateManagerImpl.assignObjectId(StateManagerImpl.java:470)
at org.apache.openjpa.kernel.StateManagerImpl.preFlush(StateManagerImpl.java:2669)
at org.apache.openjpa.kernel.PNewState.beforeFlush(PNewState.java:36)
at org.apache.openjpa.kernel.StateManagerImpl.beforeFlush(StateManagerImpl.java:850)
at org.apache.openjpa.kernel.BrokerImpl.flush(BrokerImpl.java:1898)
at org.apache.openjpa.kernel.BrokerImpl.flushSafe(BrokerImpl.java:1858)
at org.apache.openjpa.kernel.BrokerImpl.beforeCompletion(BrokerImpl.java:1776)
at org.apache.openjpa.kernel.LocalManagedRuntime.commit(LocalManagedRuntime.java:77)
at org.apache.openjpa.kernel.BrokerImpl.commit(BrokerImpl.java:1306)
at org.apache.openjpa.kernel.DelegatingBroker.commit(DelegatingBroker.java:863)
at org.apache.openjpa.persistence.EntityManagerImpl.commit(EntityManagerImpl.java:406)
... 21 more
Caused by: java.lang.NullPointerException
at org.apache.openjpa.jdbc.sql.DBDictionary.getForUpdateClause(DBDictionary.java:2158)
at org.apache.openjpa.jdbc.sql.DBDictionary.toSelect(DBDictionary.java:2147)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.getSequence(TableJDBCSeq.java:414)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.setSequence(TableJDBCSeq.java:461)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.allocateSequence(TableJDBCSeq.java:321)
at org.apache.openjpa.jdbc.kernel.TableJDBCSeq.nextInternal(TableJDBCSeq.java:225)
at org.apache.openjpa.jdbc.kernel.AbstractJDBCSeq.next(AbstractJDBCSeq.java:57)
... 39 more
Results :
Tests run: 95, Failures: 0, Errors: 44, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] There are test failures.
[INFO] ------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 5 minutes 5 seconds
[INFO] Finished at: Thu Apr 05 16:07:55 PDT 2007
[INFO] Final Memory: 7M/16M
[INFO] ------------------------------------------------------------------------
****************************************************************************