[OJB-developers] CVS tree has problems
Brought to you by:
thma
From: David F. <dw...@la...> - 2002-05-21 19:19:56
|
When I check out OJB from the CVS tree and try to run the junit target, I get a massive number of errors: These error have been persistent over the changes that have occurred in the past few days. All I did was do a CVS checkout and a build junit. Dave junit: [junit] Running test.ojb.broker.AllTests [junit] [BOOT] INFO: OJB.properties: file:/E:/projects/ojb/ojb-1-0/target/test/ojb/OJB.propertie s [junit] [ojb.broker.metadata.RepositoryXmlHandler] ERROR: Ignoring unknown Element orderby [junit] [BOOT] INFO: loading XML took 821 msecs [junit] [ojb.broker.singlevm.PersistenceBrokerImpl] ERROR: null [junit] java.lang.NullPointerException [junit] at ojb.broker.accesslayer.SqlGenerator.getListOfColumns(SqlGenerator.java:239) [junit] at ojb.broker.accesslayer.SqlGenerator.getSelectStatementDep(SqlGenerator.java:990) [junit] at ojb.broker.accesslayer.JdbcAccess.executeQuery(JdbcAccess.java:197) [junit] at ojb.broker.accesslayer.RsIterator.<init>(RsIterator.java:198) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.getIteratorFromQuery(PersistenceBrokerI mpl.java:1167) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerI mpl.java:906) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerI mpl.java:985) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerI mpl.java:1063) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerI mpl.java:1050) [junit] at test.ojb.broker.PersistenceBrokerTest.testMappingToOneTableWithAbstractBaseclass( PersistenceBrokerTest.java:435) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] [DEFAULT] ERROR: null [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] ojb.broker.PersistenceBrokerException [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.getIteratorFromQuery(PersistenceBrokerI mpl.java:1174) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerI mpl.java:906) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerI mpl.java:985) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerI mpl.java:1063) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerI mpl.java:1050) [junit] at test.ojb.broker.PersistenceBrokerTest.testMappingToOneTableWithAbstractBaseclass( PersistenceBrokerTest.java:435) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] java.sql.SQLException: Violation of unique index in statement [INSERT INTO PERSON_PROJEC T (PROJECT_ID,PERSON_ID) VALUES (1,1)] [junit] at org.hsqldb.Trace.getError(Trace.java:180) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: SQLException during the execution of the Upda te SQL query: Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ ID) VALUES (1,1)] [junit] at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645) [junit] Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ID ) VALUES (1,1)] [junit] at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:994) [junit] at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:721) [junit] at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686) [junit] at org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85) [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdateSQL(JdbcAccess.java:269) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeMtoNImplementor(PersistenceBrokerI mpl.java:492) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:446) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollectionObject(PersistenceBroker Impl.java:470) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:444) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.MtoNMapping.testInsertion(MtoNMapping.java:152) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: SQLException during the execution of the Upda te SQL query: Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ ID) VALUES (1,2)] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ID ) VALUES (1,2)] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] java.sql.SQLException: Violation of unique index in statement [INSERT INTO PERSON_PROJEC T (PROJECT_ID,PERSON_ID) VALUES (1,2)] [junit] at org.hsqldb.Trace.getError(Trace.java:180) [junit] at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645) [junit] at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:994) [junit] at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:721) [junit] at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686) [junit] at org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85) [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdateSQL(JdbcAccess.java:269) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeMtoNImplementor(PersistenceBrokerI mpl.java:492) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:446) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollectionObject(PersistenceBroker Impl.java:470) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:444) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.MtoNMapping.testInsertion(MtoNMapping.java:152) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: SQLException during the execution of the Upda te SQL query: Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ ID) VALUES (1,4)] [junit] Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ID ) VALUES (1,4)] [junit] java.sql.SQLException: Violation of unique index in statement [INSERT INTO PERSON_PROJEC T (PROJECT_ID,PERSON_ID) VALUES (1,4)] [junit] at org.hsqldb.Trace.getError(Trace.java:180) [junit] at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645) [junit] at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:994) [junit] at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:721) [junit] at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686) [junit] at org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85) [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdateSQL(JdbcAccess.java:269) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeMtoNImplementor(PersistenceBrokerI mpl.java:492) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:446) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollectionObject(PersistenceBroker Impl.java:470) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:444) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.MtoNMapping.testInsertion(MtoNMapping.java:152) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: SQLException during the execution of the Upda te SQL query: Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PERSON_ID,PROJECT_ ID) VALUES (1,1)] [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PERSON_ID,PROJECT_ID ) VALUES (1,1)] [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] java.sql.SQLException: Violation of unique index in statement [INSERT INTO PERSON_PROJEC T (PERSON_ID,PROJECT_ID) VALUES (1,1)] [junit] at org.hsqldb.Trace.getError(Trace.java:180) [junit] at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645) [junit] at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:994) [junit] at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:721) [junit] at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686) [junit] at org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85) [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdateSQL(JdbcAccess.java:269) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeMtoNImplementor(PersistenceBrokerI mpl.java:492) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:446) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.MtoNMapping.testInsertion(MtoNMapping.java:152) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: SQLException during the execution of the Upda te SQL query: Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ ID) VALUES (2,1)] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ID) VALUES (2,1)] [junit] java.sql.SQLException: Violation of unique index in statement [INSERT INTO PERSON_PROJEC T (PROJECT_ID,PERSON_ID) VALUES (2,1)] [junit] at org.hsqldb.Trace.getError(Trace.java:180) [junit] at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645) [junit] at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:994) [junit] at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:721) [junit] at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686) [junit] at org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85) [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdateSQL(JdbcAccess.java:269) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeMtoNImplementor(PersistenceBrokerI mpl.java:492) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:446) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollectionObject(PersistenceBroker Impl.java:470) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:444) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.MtoNMapping.testInsertion(MtoNMapping.java:152) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: SQLException during the execution of the Upda te SQL query: Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ ID) VALUES (2,2)] [junit] Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ID ) VALUES (2,2)] [junit] java.sql.SQLException: Violation of unique index in statement [INSERT INTO PERSON_PROJEC T (PROJECT_ID,PERSON_ID) VALUES (2,2)] [junit] at org.hsqldb.Trace.getError(Trace.java:180) [junit] at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645) [junit] at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:994) [junit] at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:721) [junit] at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686) [junit] at org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85) [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdateSQL(JdbcAccess.java:269) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeMtoNImplementor(PersistenceBrokerI mpl.java:492) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:446) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollectionObject(PersistenceBroker Impl.java:470) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:444) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.MtoNMapping.testInsertion(MtoNMapping.java:152) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: SQLException during the execution of the Upda te SQL query: Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ ID) VALUES (2,3)] [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ID ) VALUES (2,3)] [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] java.sql.SQLException: Violation of unique index in statement [INSERT INTO PERSON_PROJEC T (PROJECT_ID,PERSON_ID) VALUES (2,3)] [junit] at org.hsqldb.Trace.getError(Trace.java:180) [junit] at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645) [junit] at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:994) [junit] at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:721) [junit] at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686) [junit] at org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85) [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdateSQL(JdbcAccess.java:269) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeMtoNImplementor(PersistenceBrokerI mpl.java:492) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:446) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollectionObject(PersistenceBroker Impl.java:470) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:444) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.MtoNMapping.testInsertion(MtoNMapping.java:152) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: SQLException during the execution of the Upda te SQL query: Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ ID) VALUES (2,5)] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PROJECT_ID,PERSON_ID ) VALUES (2,5)] [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] java.sql.SQLException: Violation of unique index in statement [INSERT INTO PERSON_PROJEC T (PROJECT_ID,PERSON_ID) VALUES (2,5)] [junit] at org.hsqldb.Trace.getError(Trace.java:180) [junit] at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645) [junit] at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:994) [junit] at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:721) [junit] at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686) [junit] at org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85) [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdateSQL(JdbcAccess.java:269) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeMtoNImplementor(PersistenceBrokerI mpl.java:492) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:446) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollectionObject(PersistenceBroker Impl.java:470) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:444) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.MtoNMapping.testInsertion(MtoNMapping.java:152) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: SQLException during the execution of the Upda te SQL query: Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PERSON_ID,PROJECT_ ID) VALUES (1,2)] [junit] Violation of unique index in statement [INSERT INTO PERSON_PROJECT (PERSON_ID,PROJECT_ID ) VALUES (1,2)] [junit] java.sql.SQLException: Violation of unique index in statement [INSERT INTO PERSON_PROJEC T (PERSON_ID,PROJECT_ID) VALUES (1,2)] [junit] at org.hsqldb.Trace.getError(Trace.java:180) [junit] at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645) [junit] at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:994) [junit] at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:721) [junit] at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686) [junit] at org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85) [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdateSQL(JdbcAccess.java:269) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeMtoNImplementor(PersistenceBrokerI mpl.java:492) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl. java:446) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1360) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.MtoNMapping.testInsertion(MtoNMapping.java:152) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: PersistenceBrokerException during the executi on of executeUpdate: Object has been modified by someone else [junit] Object has been modified by someone else [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] ojb.broker.OptimisticLockException: Object has been modified by someone else [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdate(JdbcAccess.java:307) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1355) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.OptimisticLockingTest.testVersionLock(OptimisticLockingTest.java: 191) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: PersistenceBrokerException during the executi on of executeUpdate: Object has been modified by someone else [junit] Object has been modified by someone else [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] ojb.broker.OptimisticLockException: Object has been modified by someone else [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdate(JdbcAccess.java:307) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1355) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.OptimisticLockingTest.testLockHandling(OptimisticLockingTest.java :281) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: PersistenceBrokerException during the executi on of executeUpdate: Object has been modified by someone else [junit] Object has been modified by someone else [junit] ojb.broker.OptimisticLockException: Object has been modified by someone else [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdate(JdbcAccess.java:307) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1355) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:335) [junit] at test.ojb.broker.OptimisticLockingTest.testTimestampLock(OptimisticLockingTest.jav a:389) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] Tests run: 65, Failures: 2, Errors: 0, Time elapsed: 8.963 sec [junit] TEST test.ojb.broker.AllTests FAILED [junit] Running test.ojb.odmg.AllTests [junit] [BOOT] INFO: OJB.properties: file:/E:/projects/ojb/ojb-1-0/target/test/ojb/OJB.propertie s [junit] [ojb.broker.metadata.RepositoryXmlHandler] ERROR: Ignoring unknown Element orderby [junit] [BOOT] INFO: loading XML took 661 msecs [junit] [ojb.broker.accesslayer.JdbcAccess] ERROR: SQLException during the execution of executeU pdate: Table not found: ELVIS in statement [UPDATE ELVIS SET Artikelname='Nord-Ost Matjeshering', Li eferanten_Nr=13, Kategorie_Nr=8, Liefereinheit='10 - 200 g glasses', Einzelpreis=25.89, Lagerbestand =15, BestellteEinheiten=0, MindestBestand=15, Auslaufartikel=0 WHERE (ELVIS.Artikel_Nr = 30)] [junit] java.sql.SQLException: Table not found: ELVIS in statement [UPDATE ELVIS SET Artikelname ='Nord-Ost Matjeshering', Lieferanten_Nr=13, Kategorie_Nr=8, Liefereinheit='10 - 200 g glasses', Ein zelpreis=25.89, Lagerbestand=15, BestellteEinheiten=0, MindestBestand=15, Auslaufartikel=0 WHERE (EL VIS.Artikel_Nr = 30)] [junit] at org.hsqldb.Trace.getError(Trace.java:180) [junit] Table not found: ELVIS in statement [UPDATE ELVIS SET Artikelname='Nord-Ost Matjeshering ', Lieferanten_Nr=13, Kategorie_Nr=8, Liefereinheit='10 - 200 g glasses', Einzelpreis=25.89, Lagerbe stand=15, BestellteEinheiten=0, MindestBestand=15, Auslaufartikel=0 WHERE (ELVIS.Artikel_Nr = 30)] [junit] at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645) [junit] at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:994) [junit] at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:721) [junit] at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686) [junit] at org.hsqldb.jdbcStatement.executeUpdate(jdbcStatement.java:85) [junit] at org.hsqldb.jdbcPreparedStatement.executeUpdate(jdbcPreparedStatement.java:152) [junit] at ojb.broker.accesslayer.JdbcAccess.executeUpdate(JdbcAccess.java:305) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1355) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1291) [junit] at ojb.odmg.states.StateOldDirty.commit(StateOldDirty.java:207) [junit] at ojb.odmg.ObjectEnvelopeTable.commit(ObjectEnvelopeTable.java:211) [junit] at ojb.odmg.TransactionImpl.doCommit(TransactionImpl.java:210) [junit] at ojb.odmg.TransactionImpl.commit(TransactionImpl.java:361) [junit] at test.ojb.odmg.OdmgExamples.testBrokerCrash(OdmgExamples.java:1043) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] [DEFAULT] ERROR: Table not found: TESTCLASSB in statement [SELECT MAX(oid) FROM TestClas sB] [junit] java.sql.SQLException: Table not found: TESTCLASSB in statement [SELECT MAX(oid) FROM Te stClassB] [junit] at org.hsqldb.Trace.getError(Trace.java:180) [junit] at org.hsqldb.jdbcResultSet.<init>(jdbcResultSet.java:2645) [junit] at org.hsqldb.jdbcConnection.executeStandalone(jdbcConnection.java:994) [junit] at org.hsqldb.jdbcConnection.execute(jdbcConnection.java:721) [junit] at org.hsqldb.jdbcStatement.fetchResult(jdbcStatement.java:686) [junit] at org.hsqldb.jdbcStatement.executeQuery(jdbcStatement.java:68) [junit] at ojb.broker.util.sequence.SequenceManagerDefaultImpl.getMaxIdForClass(SequenceMana gerDefaultImpl.java:157) [junit] at ojb.broker.util.sequence.SequenceManagerDefaultImpl.getMaxForExtent(SequenceManag erDefaultImpl.java:295) [junit] at ojb.broker.util.sequence.SequenceManagerHighLowImpl.getUniqueId(SequenceManagerHi ghLowImpl.java:197) [junit] at ojb.broker.util.sequence.SequenceManagerHighLowImpl.getUniqueString(SequenceManag erHighLowImpl.java:291) [junit] at ojb.broker.singlevm.PersistenceBrokerImpl.getUniqueString(PersistenceBrokerImpl.j ava:1478) [junit] at ojb.broker.metadata.ClassDescriptor.getAutoIncrementValue(ClassDescriptor.java:15 29) [junit] at ojb.broker.metadata.ClassDescriptor.getKeyValues(ClassDescriptor.java:1261) [junit] at ojb.broker.Identity.<init>(Identity.java:114) [junit] at ojb.odmg.TransactionImpl.assertFkAssignment(TransactionImpl.java:533) [junit] at ojb.odmg.TransactionImpl.assignReferenceFKs(TransactionImpl.java:565) [junit] at ojb.odmg.TransactionImpl.lock(TransactionImpl.java:148) [junit] at test.ojb.odmg.OneToOneTest.testSave(OneToOneTest.java:66) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] [DEFAULT] ERROR: OJB ERROR: Dont know how to autoincrement field class test.ojb.odmg.Tes tClassB.oid [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] java.lang.RuntimeException: OJB ERROR: Dont know how to autoincrement field class test.o jb.odmg.TestClassB.oid [junit] at ojb.broker.metadata.ClassDescriptor.getAutoIncrementValue(ClassDescriptor.java:16 01) [junit] at ojb.broker.metadata.ClassDescriptor.getKeyValues(ClassDescriptor.java:1261) [junit] at ojb.broker.Identity.<init>(Identity.java:114) [junit] at ojb.odmg.TransactionImpl.assertFkAssignment(TransactionImpl.java:533) [junit] at ojb.odmg.TransactionImpl.assignReferenceFKs(TransactionImpl.java:565) [junit] at ojb.odmg.TransactionImpl.lock(TransactionImpl.java:148) [junit] at test.ojb.odmg.OneToOneTest.testSave(OneToOneTest.java:66) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] [DEFAULT] ERROR: null [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] ojb.broker.PersistenceBrokerException [junit] at ojb.broker.metadata.ClassDescriptor.getKeyValues(ClassDescriptor.java:1273) [junit] at ojb.broker.Identity.<init>(Identity.java:114) [junit] at ojb.odmg.TransactionImpl.assertFkAssignment(TransactionImpl.java:533) [junit] at ojb.odmg.TransactionImpl.assignReferenceFKs(TransactionImpl.java:565) [junit] at ojb.odmg.TransactionImpl.lock(TransactionImpl.java:148) [junit] at test.ojb.odmg.OneToOneTest.testSave(OneToOneTest.java:66) [junit] at java.lang.reflect.Method.invoke(Native Method) [junit] at junit.framework.TestCase.runTest(TestCase.java:166) [junit] at junit.framework.TestCase.runBare(TestCase.java:140) [junit] at junit.framework.TestResult$1.protect(TestResult.java:106) [junit] at junit.framework.TestResult.runProtected(TestResult.java:124) [junit] at junit.framework.TestResult.run(TestResult.java:109) [junit] at junit.framework.TestCase.run(TestCase.java:131) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] at junit.framework.TestSuite.runTest(TestSuite.java:173) [junit] at junit.framework.TestSuite.run(TestSuite.java:168) [junit] Tests run: 95, Failures: 0, Errors: 1, Time elapsed: 8.893 sec [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner. java:231) [junit] at org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner .java:409) [junit] TEST test.ojb.odmg.AllTests FAILED [junit] Running test.ojb.soda.AllTests [junit] [BOOT] INFO: OJB.properties: file:/E:/projects/ojb/ojb-1-0/target/test/ojb/OJB.propertie s [junit] [ojb.broker.metadata.RepositoryXmlHandler] ERROR: Ignoring unknown Element orderby [junit] [BOOT] INFO: loading XML took 661 msecs [junit] Tests run: 3, Failures: 0, Errors: 0, Time elapsed: 4.616 sec BUILD SUCCESSFUL Total time: 58 seconds E:\projects\ojb\ojb-1-0> |