You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-dev@db.apache.org by Thomas Dudziak <to...@first.fhg.de> on 2004/06/19 16:49:54 UTC

Unit test errors with PostgreSQL

I have 1 failure and 6 errors, all in PB Tests, when running against 
PostgreSQL (PostgreSQL 7.4.1 on Mandrake 10, JDK 1.4.2_04, JDBC level 3 
driver):

testLikeEscapedCriteria1
testKeyViolation
testBlobInsertion
testAbstractReferenceStore
testAbstractReferenceQuery
testAbstractReferenceDelete
testWeakIdentityMap

Here's the system.err output:


org.postgresql.util.PSQLException: FEHLER: Fehler ?nterminated quoted 
string?bei ?\'?P93

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1Statement.java:231)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl.java:283)
	at 
org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.java:74)
	at 
org.apache.ojb.broker.accesslayer.RsIterator.&lt;init&gt;(RsIterator.java:183)
	at 
org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIteratorFactoryImpl.java:58)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(PersistenceBrokerImpl.java:1824)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(PersistenceBrokerImpl.java:1354)
	at 
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:110)
	at 
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:232)
	at 
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:252)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:1238)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(DelegatingPersistenceBroker.java:332)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(DelegatingPersistenceBroker.java:332)
	at 
org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1(QueryTest.java:285)
	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:324)
	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:326)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:560)
org.apache.ojb.broker.PersistenceBrokerSQLException: 
org.postgresql.util.PSQLException: FEHLER: Fehler ?nterminated quoted 
string?bei ?\'?P93

	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl.java:318)
	at 
org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.java:74)
	at 
org.apache.ojb.broker.accesslayer.RsIterator.&lt;init&gt;(RsIterator.java:183)
	at 
org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIteratorFactoryImpl.java:58)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(PersistenceBrokerImpl.java:1824)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(PersistenceBrokerImpl.java:1354)
	at 
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:110)
	at 
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:232)
	at 
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:252)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:1238)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(DelegatingPersistenceBroker.java:332)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(DelegatingPersistenceBroker.java:332)
	at 
org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1(QueryTest.java:285)
	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:324)
	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:326)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:560)
Caused by: org.postgresql.util.PSQLException: FEHLER: Fehler 
?nterminated quoted string?bei ?\'?P93

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1Statement.java:231)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl.java:283)
	... 28 more
org.postgresql.util.PSQLException: FEHLER: Relation ?ot_exist?existiert 
nicht

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1Statement.java:231)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeSQL(JdbcAccessImpl.java:350)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeSQL(JdbcAccessImpl.java:328)
	at 
org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.java:70)
	at 
org.apache.ojb.broker.accesslayer.RsIterator.&lt;init&gt;(RsIterator.java:183)
	at 
org.apache.ojb.broker.accesslayer.SqlBasedRsIterator.&lt;init&gt;(SqlBasedRsIterator.java:36)
	at 
org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIteratorFactoryImpl.java:67)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(PersistenceBrokerImpl.java:1816)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(PersistenceBrokerImpl.java:1354)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getObjectByQuery(PersistenceBrokerImpl.java:1465)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuery(DelegatingPersistenceBroker.java:301)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuery(DelegatingPersistenceBroker.java:301)
	at 
org.apache.ojb.broker.PersistenceBrokerTest.testLocalTransactionDemarcation(PersistenceBrokerTest.java:425)
	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:324)
	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:326)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:560)
!! The follwing SQLException is part of the Test !!
org.postgresql.util.PSQLException: FEHLER: Einf?n oder Aktualisieren in 
Tabelle ?erson_project?verletzt Fremdschl?el-Constraint 
?erson_project_fk_1?DSchl?el (person_id)=(119) ist nicht in Tabelle 
?erson?vorhanden.

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdateSQL(JdbcAccessImpl.java:417)
	at 
org.apache.ojb.broker.core.MtoNBroker.storeMtoNImplementor(MtoNBroker.java:84)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeAndLinkMtoN(PersistenceBrokerImpl.java:889)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeCollections(PersistenceBrokerImpl.java:803)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1682)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:707)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.PBRollbackTest.storeObjects(PBRollbackTest.java:320)
	at 
org.apache.ojb.broker.PBRollbackTest.testRollbackCausedBySQLException(PBRollbackTest.java:287)
	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:324)
	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:326)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:560)
org.postgresql.util.PSQLException: Backend start-up failed: 
org.postgresql.util.PSQLException: FATAL: Benutzer &raquo;!!TestCase: 
This should fail!!&laquo; existiert nicht

	at 
org.postgresql.jdbc1.AbstractJdbc1Connection.openConnectionV3(AbstractJdbc1Connection.java:445)
	at 
org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:213)
	at org.postgresql.Driver.connect(Driver.java:139)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:171)
	at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnectionFromDriverManager(ConnectionFactoryAbstractImpl.java:253)
	at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl$ConPoolFactory.makeObject(ConnectionFactoryPooledImpl.java:231)
	at 
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)
	at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl.getConnectionFromPool(ConnectionFactoryPooledImpl.java:81)
	at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConnection(ConnectionFactoryAbstractImpl.java:116)
	at 
org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:105)
	at 
org.apache.ojb.broker.accesslayer.StatementManager.getPreparedStatement(StatementManager.java:637)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl.java:277)
	at 
org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.java:74)
	at 
org.apache.ojb.broker.accesslayer.RsIterator.&lt;init&gt;(RsIterator.java:183)
	at 
org.apache.ojb.broker.accesslayer.ReportQueryRsIterator.&lt;init&gt;(ReportQueryRsIterator.java:43)
	at 
org.apache.ojb.broker.core.ReportRsIteratorFactoryImpl.createRsIterator(ReportRsIteratorFactoryImpl.java:59)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(PersistenceBrokerImpl.java:1824)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getReportQueryIteratorFromQuery(PersistenceBrokerImpl.java:1871)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getReportQueryIteratorByQuery(PersistenceBrokerImpl.java:1799)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getCount(PersistenceBrokerImpl.java:1770)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCount(DelegatingPersistenceBroker.java:327)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCount(DelegatingPersistenceBroker.java:327)
	at 
org.apache.ojb.broker.metadata.MetadataTest.testLookupPB2(MetadataTest.java:299)
	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:324)
	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:326)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:560)
org.apache.ojb.broker.PersistenceBrokerException: Used ConnectionManager 
instance could not obtain a connection
	at 
org.apache.ojb.broker.accesslayer.StatementManager.getPreparedStatement(StatementManager.java:641)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl.java:277)
	at 
org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.java:74)
	at 
org.apache.ojb.broker.accesslayer.RsIterator.&lt;init&gt;(RsIterator.java:183)
	at 
org.apache.ojb.broker.accesslayer.ReportQueryRsIterator.&lt;init&gt;(ReportQueryRsIterator.java:43)
	at 
org.apache.ojb.broker.core.ReportRsIteratorFactoryImpl.createRsIterator(ReportRsIteratorFactoryImpl.java:59)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(PersistenceBrokerImpl.java:1824)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getReportQueryIteratorFromQuery(PersistenceBrokerImpl.java:1871)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getReportQueryIteratorByQuery(PersistenceBrokerImpl.java:1799)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getCount(PersistenceBrokerImpl.java:1770)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCount(DelegatingPersistenceBroker.java:327)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCount(DelegatingPersistenceBroker.java:327)
	at 
org.apache.ojb.broker.metadata.MetadataTest.testLookupPB2(MetadataTest.java:299)
	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:324)
	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:326)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:560)
Caused by: org.apache.ojb.broker.accesslayer.LookupException: Could not 
borrow connection from pool - 
org.apache.ojb.broker.metadata.JdbcConnectionDescriptor: 
org.apache.ojb.broker.metadata.JdbcConnectionDescriptor@f9e48[
   jcd-alias=default
   default-connection=false
   dbms=PostgreSQL
   jdbc-level=3.0
   driver=org.postgresql.Driver
   protocol=jdbc
   sub-protocol=postgresql
   db-alias=ojbtest
   user=!!TestCase: This should fail!!
   password=*****
   eager-release=false
   ConnectionPoolDescriptor={testOnReturn=false, maxWait=5000, 
timeBetweenEvictionRunsMillis=-1, testOnBorrow=true, 
numTestsPerEvictionRun=10, maxActive=21, removeAbandonedTimeout=300, 
removeAbandoned=false, maxIdle=-1, testWhileIdle=false, 
whenExhaustedAction=0, logAbandoned=false, 
minEvictableIdleTimeMillis=600000}
   batchMode=false
   useAutoCommit=AUTO_COMMIT_SET_TRUE_AND_TEMPORARY_FALSE
   ignoreAutoCommitExceptions=false
 
sequenceDescriptor=org.apache.ojb.broker.metadata.SequenceDescriptor@160bf5e[
      sequenceManagerClass=class 
org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl
      Properties={grabSize=20, globalSequenceStart=10000, 
autoNaming=true, globalSequenceId=false}
]
]
	at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl.getConnectionFromPool(ConnectionFactoryPooledImpl.java:85)
	at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConnection(ConnectionFactoryAbstractImpl.java:116)
	at 
org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(ConnectionManagerImpl.java:105)
	at 
org.apache.ojb.broker.accesslayer.StatementManager.getPreparedStatement(StatementManager.java:637)
	... 28 more
Caused by: org.apache.ojb.broker.accesslayer.LookupException: Error 
getting Connection from DriverManager with url (jdbc:postgresql:ojbtest) 
and driver (org.postgresql.Driver)
	at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnectionFromDriverManager(ConnectionFactoryAbstractImpl.java:259)
	at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl$ConPoolFactory.makeObject(ConnectionFactoryPooledImpl.java:231)
	at 
org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPool.java:816)
	at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl.getConnectionFromPool(ConnectionFactoryPooledImpl.java:81)
	... 31 more
Caused by: org.postgresql.util.PSQLException: Backend start-up failed: 
org.postgresql.util.PSQLException: FATAL: Benutzer &raquo;!!TestCase: 
This should fail!!&laquo; existiert nicht

	at 
org.postgresql.jdbc1.AbstractJdbc1Connection.openConnectionV3(AbstractJdbc1Connection.java:445)
	at 
org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Connection.java:213)
	at org.postgresql.Driver.connect(Driver.java:139)
	at java.sql.DriverManager.getConnection(DriverManager.java:512)
	at java.sql.DriverManager.getConnection(DriverManager.java:171)
	at 
org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnectionFromDriverManager(ConnectionFactoryAbstractImpl.java:253)
	... 34 more
[WARN] OptionConverter - -Could not find value for key 
jcs.default.elementattributes
[WARN] CompositeCacheConfigurator - -Could not instantiate eAttr named 
'jcs.default.elementattributes', using defaults.
[WARN] OptionConverter - -Could not find value for key 
jcs.system.groupIdCache.elementattributes
[WARN] CompositeCacheConfigurator - -Could not instantiate eAttr named 
'jcs.system.groupIdCache.elementattributes', using defaults.
[WARN] OptionConverter - -Could not find value for key 
jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.cacheattributes
[WARN] CompositeCacheConfigurator - -Could not instantiate ccAttr named 
'jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.cacheattributes', 
using defaults.
[WARN] OptionConverter - -Could not find value for key 
jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.elementattributes
[WARN] CompositeCacheConfigurator - -Could not instantiate eAttr named 
'jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.elementattributes', 
using defaults.
[WARN] OptionConverter - -Could not find value for key 
jcs.region.ojbDefault.elementattributes
[WARN] CompositeCacheConfigurator - -Could not instantiate eAttr named 
'jcs.region.ojbDefault.elementattributes', using defaults.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: Unit test errors with PostgreSQL

Posted by Thomas Dudziak <to...@first.fhg.de>.
Jakob Braeuchi wrote:

> hi thomas,
> 
> could you please post the sql that produced the error ?

Hmm, the spy.log is rather long. I'll try to add a junit target that 
executes specific tests denoted by a property, and then post the spy.log.

Btw, funny thing, now after a rerun the failure is no longer there 
(testWeakIdentityMap), but I get two additional errors, this time in the 
odmg tests:

testLockingOfObject (both errors here)

The system.err file:

org.apache.ojb.broker.OptimisticLockException: Object has been modified 
by someone else
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdate(JdbcAccessImpl.java:485)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1674)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1530)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:180)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:180)
	at org.apache.ojb.odmg.states.StateOldDirty.commit(StateOldDirty.java:100)
	at 
org.apache.ojb.odmg.ObjectEnvelopeTable.commitAllEnvelopes(ObjectEnvelopeTable.java:204)
	at 
org.apache.ojb.odmg.ObjectEnvelopeTable.commit(ObjectEnvelopeTable.java:158)
	at 
org.apache.ojb.odmg.TransactionImpl.doCommitOnObjects(TransactionImpl.java:306)
	at org.apache.ojb.odmg.TransactionImpl.prepare(TransactionImpl.java:628)
	at org.apache.ojb.odmg.TransactionImpl.commit(TransactionImpl.java:585)
	at 
org.apache.ojb.odmg.LockingTest.testOptimisticLockBasics(LockingTest.java:179)
	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:324)
	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:326)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:560)
org.odmg.TransactionInProgressException: Database cannot be closed, 
associated Tx is still open. Transaction status is 'STATUS_ACTIVE'. Used 
PBKey was org.apache.ojb.broker.PBKey: jcdAlias=default, user=ojb, 
password=*****
	at org.apache.ojb.odmg.DatabaseImpl.close(DatabaseImpl.java:172)
	at 
org.apache.ojb.odmg.ODMGRollbackTest.testDatabaseClose(ODMGRollbackTest.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:324)
	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:326)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:560)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class org.apache.ojb.odmg.Site, PK of the given 
object is [ id=22], object was org.apache.ojb.odmg.Site@1f07597, 
exception message is [FEHLER: duplizierter Schl?el verletzt 
Unique-Constraint ?ame_unique?Fnbtinsert.c
]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1526)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:180)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:180)
	at org.apache.ojb.odmg.states.StateNewDirty.commit(StateNewDirty.java:109)
	at 
org.apache.ojb.odmg.ObjectEnvelopeTable.commitAllEnvelopes(ObjectEnvelopeTable.java:204)
	at 
org.apache.ojb.odmg.ObjectEnvelopeTable.commit(ObjectEnvelopeTable.java:158)
	at 
org.apache.ojb.odmg.TransactionImpl.doCommitOnObjects(TransactionImpl.java:306)
	at org.apache.ojb.odmg.TransactionImpl.prepare(TransactionImpl.java:628)
	at org.apache.ojb.odmg.TransactionImpl.commit(TransactionImpl.java:585)
	at org.apache.ojb.odmg.UserTestCases.newSite(UserTestCases.java:95)
	at 
org.apache.ojb.odmg.UserTestCases.testDuplicateInsertion(UserTestCases.java:54)
	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:324)
	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
	at junit.framework.TestSuite.run(TestSuite.java:203)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:326)
	at 
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTestRunner.java:560)
Caused by: org.postgresql.util.PSQLException: FEHLER: duplizierter 
Schl?el verletzt Unique-Constraint ?ame_unique?Fnbtinsert.c

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:198)
	... 29 more

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: Unit test errors with PostgreSQL

Posted by "Robert S. Sfeir" <ro...@codepuccino.com>.
Yes the command below works.

R


On 6/20/04 4:16 AM, "Jakob Braeuchi" <jb...@gmx.ch> wrote:

> SELECT A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM PERSON A0 WHERE
> A0.FIRSTNAME LIKE
> 'h%!%' ESCAPE '!'



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: Unit test errors with PostgreSQL

Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi,

the doc says:

"The default escape character is the backslash but a different one may be 
selected by using the ESCAPE clause. To match the escape character itself, write 
two escape characters."

may be we should try using another character in the escape clause, not the 
default one ie:

SELECT A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM PERSON A0 WHERE
A0.FIRSTNAME LIKE
'h%!%' ESCAPE '!'

does this run in postgresql ?

jakob

Brian McCallister wrote:
> using psql directly, with one email address:  
> mccallister%forthillcompany.com and a bunch like %@forthillcompany.com  
> I get the following behavior:
> 
> select count(*) from profiles where email like  '%\\%forthillcompany.com';
> returns 1 row (correct)
> 
> select count(*) from profiles where email like '%\%forthillcompany.com';
> returns 47 rows (incorrect)
> 
> psql may be escaping these, or postgres may be.
> 
> -Brian
> 
> On Jun 19, 2004, at 4:11 PM, Jakob Braeuchi wrote:
> 
>> hi thomas,
>>
>> postgres does not seem to like the ESCAPE clause:
>>
>> SELECT A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM PERSON A0 WHERE  
>> A0.FIRSTNAME LIKE
>> 'h%\%' ESCAPE '\'
>>
>> do you know how to escape wildcards in postgres ?
>>
>> jakob
>>
>> Am Sa Juni 19 2004 20.45 schrieb Thomas Dudziak:
>>
>>> Jakob Braeuchi wrote:
>>>
>>>> hi thomas,
>>>>
>>>> the easiest thing is to use a debugger and to direct the output of  
>>>> p6spy
>>>> to the console. that's how i do it in eclipse.
>>>
>>>
>>> Ok, with a bit of tweaking I got the unit tests to run. Here's what  the
>>> exception is and what the spy.log shows for the individual tests (I  
>>> hope
>>> it suffixes, don't have more time today for OJB):
>>>
>>>
>>> *org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1*:
>>> -----------------------------------------------------------
>>>
>>> testLikeEscapedCriteria1(org.apache.ojb.broker.QueryTest)
>>> org.apache.ojb.broker.PersistenceBrokerException:
>>> org.apache.ojb.broker.PersistenceBrokerSQLException:
>>> org.postgresql.util.PSQLException: FEHLER: Fehler \x{FEB5}nterminated
>>> quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>>>
>>>     at
>>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>>> ueryR
>>> eferenceBroker.java:240) at
>>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>>> ueryR
>>> eferenceBroker.java:252) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery( 
>>> Persi
>>> stenceBrokerImpl.java:1238) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionBy 
>>> Query
>>> (DelegatingPersistenceBroker.java:332) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionBy 
>>> Query
>>> (DelegatingPersistenceBroker.java:332) at
>>> org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1(QueryTest.jav 
>>> a:285
>>> ) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by:  
>>> org.apache.ojb.broker.PersistenceBrokerSQLException:
>>> org.postgresql.util.PSQLException: FEHLER: Fehler \x{FEB5}nterminated
>>> quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>>>
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAcce 
>>> ssImp
>>> l.java:318) at
>>> org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryOb 
>>> ject.
>>> java:74) at
>>> org.apache.ojb.broker.accesslayer.RsIterator.<init>(RsIterator.java: 
>>> 183) at
>>> org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIt 
>>> erato
>>> rFactoryImpl.java:58) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuer 
>>> y(Per
>>> sistenceBrokerImpl.java:1824) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery( 
>>> Persi
>>> stenceBrokerImpl.java:1354) at
>>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>>> ueryR
>>> eferenceBroker.java:110) at
>>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>>> ueryR
>>> eferenceBroker.java:232) ... 18 more
>>> Caused by: org.postgresql.util.PSQLException: FEHLER: Fehler
>>> \x{FEB5}nterminated quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>>>
>>>     at
>>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>>> 139)
>>>     at  
>>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>>> ment.
>>> java:515) at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>>> ment.
>>> java:50) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1 
>>> State
>>> ment.java:231) at
>>> com.p6spy.engine.logging.P6LogPreparedStatement.executeQuery(P6LogPrep 
>>> aredS
>>> tatement.java:172) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAcce 
>>> ssImp
>>> l.java:283) ... 25 more
>>>
>>>
>>>
>>> 1087669389722|20|0|statement|SELECT A0.LASTNAME,A0.FIRSTNAME,A0.ID  FROM
>>> PERSON A0 WHERE A0.FIRSTNAME LIKE ? ESCAPE '\'|SELECT
>>> A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM PERSON A0 WHERE A0.FIRSTNAME LIKE
>>> 'h%\%' ESCAPE '\'
>>>
>>>
>>> *org.apache.ojb.broker.KeyConstraintViolationTest.testKeyViolation*:
>>> --------------------------------------------------------------------
>>>
>>>
>>> testKeyViolation(org.apache.ojb.broker.KeyConstraintViolationTest)
>>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>>> insert object data for class org.apache.ojb.broker.Article, PK of the
>>> given object is [ articleId=12366], object was ----
>>> Article No:   12366
>>> Description:  repeated Article
>>> ProductGroupId: 1
>>> ProductGroupName: null
>>> stock:        0
>>> price:        0.0
>>> stock-value   0.0
>>> , exception message is [FEHLER: duplizierter Schl\x{BCB3}el verletzt
>>> Unique-Constraint \x{FEA1}rtikel_pkey\x{FA40}Fnbtinsert.c
>>> ]
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:243) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>>> Broke
>>> rImpl.java:1658) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1575) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1526) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:180) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:180) at
>>> org.apache.ojb.broker.KeyConstraintViolationTest.testKeyViolation(KeyC 
>>> onstr
>>> aintViolationTest.java:50) at
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:
>>> duplizierter Schl\x{BCB3}el verletzt Unique-Constraint
>>> \x{FEA1}rtikel_pkey\x{FA40}Fnbtinsert.c
>>>
>>>     at
>>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>>> 139)
>>>     at  
>>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>>> ment.
>>> java:515) at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>>> ment.
>>> java:50) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>>> 1Stat
>>> ement.java:271) at
>>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>>> pared
>>> Statement.java:183) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:198) ... 19 more
>>>
>>>
>>>
>>> 1087669751753|77|1|statement|SELECT
>>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_Artikel'
>>> 1087669751779|2|1|statement|UPDATE OJB_HL_SEQ SET
>>> MAX_KEY=?,GRAB_SIZE=?,VERSION=? WHERE TABLENAME = ?  AND FIELDNAME = ?
>>> AND VERSION = ? |UPDATE OJB_HL_SEQ SET
>>> MAX_KEY='12385',GRAB_SIZE='20',VERSION='2' WHERE TABLENAME =
>>> 'SEQ_Artikel'  AND FIELDNAME = 'deprecatedColumn'  AND VERSION = '1'
>>> 1087669751782|2|1|commit||
>>> 1087669751790|3|0|statement|INSERT INTO Artikel
>>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>>> elpre
>>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>>> VALUES
>>> (?,?,?,?,?,?,?,?,?,?) |INSERT INTO Artikel
>>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>>> elpre
>>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>>> VALUES
>>> ('12366','repeated Article','0','1','','0.0','0','0','0','0')
>>> 1087669751797|3|0|commit||
>>> 1087669751951|151|0|statement|INSERT INTO Artikel
>>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>>> elpre
>>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>>> VALUES
>>> (?,?,?,?,?,?,?,?,?,?) |INSERT INTO Artikel
>>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>>> elpre
>>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>>> VALUES
>>> ('12366','repeated Article','0','1','','0.0','0','0','0','0')
>>> 1087669751960|0|0|rollback||
>>>
>>>
>>> *org.apache.ojb.broker.BlobTest.testBlobInsertion*:
>>> ---------------------------------------------------
>>>
>>> testBlobInsertion(org.apache.ojb.broker.BlobTest)
>>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>>> insert object data for class
>>> org.apache.ojb.broker.BlobTest$ObjectWithBlob, PK of the given 
>>> object  is
>>> [ id=1], object was
>>> org.apache.ojb.broker.BlobTest$ObjectWithBlob@10ffb38, exception  
>>> message
>>> is [Unbekannter Zieltyp]
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:243) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>>> Broke
>>> rImpl.java:1658) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1575) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:707) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.BlobTest.testBlobInsertion(BlobTest.java:82) at
>>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by: org.postgresql.util.PSQLException: Unbekannter
>>> Zieltyp
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1Sta 
>>> temen
>>> t.java:1675) at
>>> org.postgresql.jdbc3.AbstractJdbc3Statement.setObject(AbstractJdbc3Sta 
>>> temen
>>> t.java:1370) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1Sta 
>>> temen
>>> t.java:1681) at
>>> com.p6spy.engine.spy.P6PreparedStatement.setObject(P6PreparedStatement 
>>> .java
>>> :294) at
>>> org.apache.ojb.broker.platforms.PlatformDefaultImpl.setObjectForStatem 
>>> ent(P
>>> latformDefaultImpl.java:227) at
>>> org.apache.ojb.broker.platforms.PlatformPostgreSQLImpl.setObjectForSta 
>>> temen
>>> t(PlatformPostgreSQLImpl.java:40) at
>>> org.apache.ojb.broker.accesslayer.StatementManager.bindInsert(Statemen 
>>> tMana
>>> ger.java:449) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:194) ... 21 more
>>>
>>>
>>> 1087670081775|10|0|statement|SELECT
>>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_BLOB_TEST'
>>> 1087670081791|2|1|statement||SELECT MAX(ID) FROM BLOB_TEST
>>> 1087670081808|3|0|statement|INSERT INTO OJB_HL_SEQ
>>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>>
>>> |INSERT INTO OJB_HL_SEQ  (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>>
>>> VALUES ('SEQ_BLOB_TEST','deprecatedColumn','20','20','1')
>>> 1087670081820|8|0|commit||
>>>
>>>
>>> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore*:
>>> -----------------------------------------------------------------
>>>
>>>
>>> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
>>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>>> PK of the given object is [ id=1], object was
>>> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
>>> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis  zum
>>> Ende der Transaktion ignoriert
>>> ]
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:243) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>>> Broke
>>> rImpl.java:1658) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1575) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:707) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(Referen 
>>> ceTes
>>> t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>>> Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>>> aktuelle
>>> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
>>> Transaktion ignoriert
>>>
>>>     at
>>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>>> 139)
>>>     at  
>>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>>> ment.
>>> java:515) at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>>> ment.
>>> java:50) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>>> 1Stat
>>> ement.java:271) at
>>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>>> pared
>>> Statement.java:183) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:198) ... 21 more
>>>
>>> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
>>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>>> PK of the given object is [ id=2], object was
>>> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
>>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>>> ]
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:243) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>>> Broke
>>> rImpl.java:1658) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1575) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:707) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(Referen 
>>> ceTes
>>> t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>>> Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>>> Relation
>>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>>
>>>     at
>>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>>> 139)
>>>     at  
>>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>>> ment.
>>> java:515) at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>>> ment.
>>> java:50) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>>> 1Stat
>>> ement.java:271) at
>>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>>> pared
>>> Statement.java:183) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:198) ... 21 more
>>>
>>> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
>>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>>> PK of the given object is [ id=3], object was
>>> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
>>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>>> ]
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:243) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>>> Broke
>>> rImpl.java:1658) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1575) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:707) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(Refere 
>>> nceTe
>>> st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>>> Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>>> Relation
>>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>>
>>>     at
>>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>>> 139)
>>>     at  
>>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>>> ment.
>>> java:515) at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>>> ment.
>>> java:50) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>>> 1Stat
>>> ement.java:271) at
>>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>>> pared
>>> Statement.java:183) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:198) ... 21 more
>>>
>>>
>>> 1087670371111|10|1|statement|SELECT
>>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
>>> 1087670371146|28|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
>>> 1087670371160|2|1|statement|INSERT INTO OJB_HL_SEQ
>>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>>
>>> |INSERT INTO OJB_HL_SEQ  (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>>
>>> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
>>> 1087670371274|39|1|commit||
>>> 1087670371277|1|0|statement|INSERT INTO REF_ANIMAL
>>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO  REF_ANIMAL
>>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
>>> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractRe 
>>> feren
>>> ceStore_1087670370715')
>>>
>>> 1087670371286|0|0|rollback||
>>>
>>>
>>> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery*:
>>> -----------------------------------------------------------------
>>>
>>> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
>>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>>> PK of the given object is [ id=1], object was
>>> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
>>> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis  zum
>>> Ende der Transaktion ignoriert
>>> ]
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:243) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>>> Broke
>>> rImpl.java:1658) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1575) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:707) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(Referen 
>>> ceTes
>>> t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>>> Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>>> aktuelle
>>> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
>>> Transaktion ignoriert
>>>
>>>     at
>>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>>> 139)
>>>     at  
>>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>>> ment.
>>> java:515) at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>>> ment.
>>> java:50) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>>> 1Stat
>>> ement.java:271) at
>>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>>> pared
>>> Statement.java:183) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:198) ... 21 more
>>>
>>> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
>>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>>> PK of the given object is [ id=2], object was
>>> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
>>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>>> ]
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:243) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>>> Broke
>>> rImpl.java:1658) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1575) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:707) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(Referen 
>>> ceTes
>>> t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>>> Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>>> Relation
>>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>>
>>>     at
>>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>>> 139)
>>>     at  
>>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>>> ment.
>>> java:515) at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>>> ment.
>>> java:50) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>>> 1Stat
>>> ement.java:271) at
>>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>>> pared
>>> Statement.java:183) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:198) ... 21 more
>>>
>>> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
>>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>>> PK of the given object is [ id=3], object was
>>> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
>>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>>> ]
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:243) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>>> Broke
>>> rImpl.java:1658) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1575) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:707) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(Refere 
>>> nceTe
>>> st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>>> Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>>> Relation
>>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>>
>>>     at
>>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>>> 139)
>>>     at  
>>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>>> ment.
>>> java:515) at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>>> ment.
>>> java:50) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>>> 1Stat
>>> ement.java:271) at
>>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>>> pared
>>> Statement.java:183) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:198) ... 21 more
>>>
>>>
>>> 1087670482134|10|1|statement|SELECT
>>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
>>> 1087670482160|19|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
>>> 1087670482174|1|1|statement|INSERT INTO OJB_HL_SEQ
>>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>>
>>> |INSERT INTO OJB_HL_SEQ  (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>>
>>> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
>>> 1087670482294|2|1|commit||
>>> 1087670482297|1|0|statement|INSERT INTO REF_ANIMAL
>>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO  REF_ANIMAL
>>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
>>> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractRe 
>>> feren
>>> ceQuery_1087670481726')
>>>
>>> 1087670482306|1|0|rollback||
>>>
>>>
>>> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete*:
>>> ------------------------------------------------------------------
>>>
>>> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
>>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>>> PK of the given object is [ id=1], object was
>>> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
>>> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis  zum
>>> Ende der Transaktion ignoriert
>>> ]
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:243) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>>> Broke
>>> rImpl.java:1658) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1575) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:707) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(Referen 
>>> ceTes
>>> t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>>> Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>>> aktuelle
>>> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
>>> Transaktion ignoriert
>>>
>>>     at
>>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>>> 139)
>>>     at  
>>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>>> ment.
>>> java:515) at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>>> ment.
>>> java:50) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>>> 1Stat
>>> ement.java:271) at
>>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>>> pared
>>> Statement.java:183) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:198) ... 21 more
>>>
>>> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
>>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>>> PK of the given object is [ id=2], object was
>>> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
>>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>>> ]
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:243) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>>> Broke
>>> rImpl.java:1658) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1575) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:707) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(Referen 
>>> ceTes
>>> t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>>> Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>>> Relation
>>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>>
>>>     at
>>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>>> 139)
>>>     at  
>>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>>> ment.
>>> java:515) at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>>> ment.
>>> java:50) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>>> 1Stat
>>> ement.java:271) at
>>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>>> pared
>>> Statement.java:183) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:198) ... 21 more
>>>
>>> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
>>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>>> PK of the given object is [ id=3], object was
>>> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
>>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>>> ]
>>>     at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:243) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>>> Broke
>>> rImpl.java:1658) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:1575) at
>>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>>> erImp
>>> l.java:707) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>>> gPers
>>> istenceBroker.java:174) at
>>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(Refere 
>>> nceTe
>>> st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>>> Method)
>>>     at
>>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>>> ava:3
>>> 9) at
>>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>>> orImp
>>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>>>     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
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>>> TestR
>>> unner.java:421) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>>> unner
>>> .java:305) at
>>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>>> Runne
>>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>>> Relation
>>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>>
>>>     at
>>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>>> 139)
>>>     at  
>>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>>>     at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>>>     at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>>> ment.
>>> java:515) at
>>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>>> ment.
>>> java:50) at
>>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>>> 1Stat
>>> ement.java:271) at
>>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>>> pared
>>> Statement.java:183) at
>>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>>> essIm
>>> pl.java:198) ... 21 more
>>>
>>>
>>> 1087670561940|10|1|statement|SELECT
>>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
>>> 1087670562017|70|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
>>> 1087670562038|8|1|statement|INSERT INTO OJB_HL_SEQ
>>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>>
>>> |INSERT INTO OJB_HL_SEQ  (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>>
>>> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
>>> 1087670562154|3|1|commit||
>>> 1087670562157|1|0|statement|INSERT INTO REF_ANIMAL
>>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO  REF_ANIMAL
>>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
>>> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractRe 
>>> feren
>>> ceDelete_1087670561546')
>>>
>>> 1087670562201|0|0|rollback||
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>>
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: Unit test errors with PostgreSQL

Posted by Brian McCallister <mc...@forthillcompany.com>.
using psql directly, with one email address:  
mccallister%forthillcompany.com and a bunch like %@forthillcompany.com  
I get the following behavior:

select count(*) from profiles where email like  
'%\\%forthillcompany.com';
returns 1 row (correct)

select count(*) from profiles where email like '%\%forthillcompany.com';
returns 47 rows (incorrect)

psql may be escaping these, or postgres may be.

-Brian

On Jun 19, 2004, at 4:11 PM, Jakob Braeuchi wrote:

> hi thomas,
>
> postgres does not seem to like the ESCAPE clause:
>
> SELECT A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM PERSON A0 WHERE  
> A0.FIRSTNAME LIKE
> 'h%\%' ESCAPE '\'
>
> do you know how to escape wildcards in postgres ?
>
> jakob
>
> Am Sa Juni 19 2004 20.45 schrieb Thomas Dudziak:
>> Jakob Braeuchi wrote:
>>> hi thomas,
>>>
>>> the easiest thing is to use a debugger and to direct the output of  
>>> p6spy
>>> to the console. that's how i do it in eclipse.
>>
>> Ok, with a bit of tweaking I got the unit tests to run. Here's what  
>> the
>> exception is and what the spy.log shows for the individual tests (I  
>> hope
>> it suffixes, don't have more time today for OJB):
>>
>>
>> *org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1*:
>> -----------------------------------------------------------
>>
>> testLikeEscapedCriteria1(org.apache.ojb.broker.QueryTest)
>> org.apache.ojb.broker.PersistenceBrokerException:
>> org.apache.ojb.broker.PersistenceBrokerSQLException:
>> org.postgresql.util.PSQLException: FEHLER: Fehler \x{FEB5}nterminated
>> quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>>
>> 	at
>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>> ueryR
>> eferenceBroker.java:240) at
>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>> ueryR
>> eferenceBroker.java:252) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery( 
>> Persi
>> stenceBrokerImpl.java:1238) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionBy 
>> Query
>> (DelegatingPersistenceBroker.java:332) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionBy 
>> Query
>> (DelegatingPersistenceBroker.java:332) at
>> org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1(QueryTest.jav 
>> a:285
>> ) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by:  
>> org.apache.ojb.broker.PersistenceBrokerSQLException:
>> org.postgresql.util.PSQLException: FEHLER: Fehler \x{FEB5}nterminated
>> quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>>
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAcce 
>> ssImp
>> l.java:318) at
>> org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryOb 
>> ject.
>> java:74) at
>> org.apache.ojb.broker.accesslayer.RsIterator.<init>(RsIterator.java: 
>> 183) at
>> org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIt 
>> erato
>> rFactoryImpl.java:58) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuer 
>> y(Per
>> sistenceBrokerImpl.java:1824) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery( 
>> Persi
>> stenceBrokerImpl.java:1354) at
>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>> ueryR
>> eferenceBroker.java:110) at
>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>> ueryR
>> eferenceBroker.java:232) ... 18 more
>> Caused by: org.postgresql.util.PSQLException: FEHLER: Fehler
>> \x{FEB5}nterminated quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1 
>> State
>> ment.java:231) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeQuery(P6LogPrep 
>> aredS
>> tatement.java:172) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAcce 
>> ssImp
>> l.java:283) ... 25 more
>>
>>
>>
>> 1087669389722|20|0|statement|SELECT A0.LASTNAME,A0.FIRSTNAME,A0.ID  
>> FROM
>> PERSON A0 WHERE A0.FIRSTNAME LIKE ? ESCAPE '\'|SELECT
>> A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM PERSON A0 WHERE A0.FIRSTNAME LIKE
>> 'h%\%' ESCAPE '\'
>>
>>
>> *org.apache.ojb.broker.KeyConstraintViolationTest.testKeyViolation*:
>> --------------------------------------------------------------------
>>
>>
>> testKeyViolation(org.apache.ojb.broker.KeyConstraintViolationTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.Article, PK of the
>> given object is [ articleId=12366], object was ----
>> Article No:   12366
>> Description:  repeated Article
>> ProductGroupId: 1
>> ProductGroupName: null
>> stock:        0
>> price:        0.0
>> stock-value   0.0
>> , exception message is [FEHLER: duplizierter Schl\x{BCB3}el verletzt
>> Unique-Constraint \x{FEA1}rtikel_pkey\x{FA40}Fnbtinsert.c
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1526) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:180) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:180) at
>> org.apache.ojb.broker.KeyConstraintViolationTest.testKeyViolation(KeyC 
>> onstr
>> aintViolationTest.java:50) at
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:
>> duplizierter Schl\x{BCB3}el verletzt Unique-Constraint
>> \x{FEA1}rtikel_pkey\x{FA40}Fnbtinsert.c
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 19 more
>>
>>
>>
>> 1087669751753|77|1|statement|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_Artikel'
>> 1087669751779|2|1|statement|UPDATE OJB_HL_SEQ SET
>> MAX_KEY=?,GRAB_SIZE=?,VERSION=? WHERE TABLENAME = ?  AND FIELDNAME = ?
>> AND VERSION = ? |UPDATE OJB_HL_SEQ SET
>> MAX_KEY='12385',GRAB_SIZE='20',VERSION='2' WHERE TABLENAME =
>> 'SEQ_Artikel'  AND FIELDNAME = 'deprecatedColumn'  AND VERSION = '1'
>> 1087669751782|2|1|commit||
>> 1087669751790|3|0|statement|INSERT INTO Artikel
>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>> elpre
>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>> VALUES
>> (?,?,?,?,?,?,?,?,?,?) |INSERT INTO Artikel
>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>> elpre
>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>> VALUES
>> ('12366','repeated Article','0','1','','0.0','0','0','0','0')
>> 1087669751797|3|0|commit||
>> 1087669751951|151|0|statement|INSERT INTO Artikel
>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>> elpre
>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>> VALUES
>> (?,?,?,?,?,?,?,?,?,?) |INSERT INTO Artikel
>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>> elpre
>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>> VALUES
>> ('12366','repeated Article','0','1','','0.0','0','0','0','0')
>> 1087669751960|0|0|rollback||
>>
>>
>> *org.apache.ojb.broker.BlobTest.testBlobInsertion*:
>> ---------------------------------------------------
>>
>> testBlobInsertion(org.apache.ojb.broker.BlobTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class
>> org.apache.ojb.broker.BlobTest$ObjectWithBlob, PK of the given object  
>> is
>> [ id=1], object was
>> org.apache.ojb.broker.BlobTest$ObjectWithBlob@10ffb38, exception  
>> message
>> is [Unbekannter Zieltyp]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.BlobTest.testBlobInsertion(BlobTest.java:82) at
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: Unbekannter
>> Zieltyp
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1Sta 
>> temen
>> t.java:1675) at
>> org.postgresql.jdbc3.AbstractJdbc3Statement.setObject(AbstractJdbc3Sta 
>> temen
>> t.java:1370) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1Sta 
>> temen
>> t.java:1681) at
>> com.p6spy.engine.spy.P6PreparedStatement.setObject(P6PreparedStatement 
>> .java
>> :294) at
>> org.apache.ojb.broker.platforms.PlatformDefaultImpl.setObjectForStatem 
>> ent(P
>> latformDefaultImpl.java:227) at
>> org.apache.ojb.broker.platforms.PlatformPostgreSQLImpl.setObjectForSta 
>> temen
>> t(PlatformPostgreSQLImpl.java:40) at
>> org.apache.ojb.broker.accesslayer.StatementManager.bindInsert(Statemen 
>> tMana
>> ger.java:449) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:194) ... 21 more
>>
>>
>> 1087670081775|10|0|statement|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_BLOB_TEST'
>> 1087670081791|2|1|statement||SELECT MAX(ID) FROM BLOB_TEST
>> 1087670081808|3|0|statement|INSERT INTO OJB_HL_SEQ
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>
>> |INSERT INTO OJB_HL_SEQ  
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>
>> VALUES ('SEQ_BLOB_TEST','deprecatedColumn','20','20','1')
>> 1087670081820|8|0|commit||
>>
>>
>> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore*:
>> -----------------------------------------------------------------
>>
>>
>> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=1], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
>> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis  
>> zum
>> Ende der Transaktion ignoriert
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(Referen 
>> ceTes
>> t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> aktuelle
>> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
>> Transaktion ignoriert
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=2], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(Referen 
>> ceTes
>> t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=3], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(Refere 
>> nceTe
>> st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>>
>> 1087670371111|10|1|statement|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
>> 1087670371146|28|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
>> 1087670371160|2|1|statement|INSERT INTO OJB_HL_SEQ
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>
>> |INSERT INTO OJB_HL_SEQ  
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>
>> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
>> 1087670371274|39|1|commit||
>> 1087670371277|1|0|statement|INSERT INTO REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO  
>> REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
>> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractRe 
>> feren
>> ceStore_1087670370715')
>>
>> 1087670371286|0|0|rollback||
>>
>>
>> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery*:
>> -----------------------------------------------------------------
>>
>> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=1], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
>> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis  
>> zum
>> Ende der Transaktion ignoriert
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(Referen 
>> ceTes
>> t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> aktuelle
>> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
>> Transaktion ignoriert
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=2], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(Referen 
>> ceTes
>> t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=3], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(Refere 
>> nceTe
>> st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>>
>> 1087670482134|10|1|statement|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
>> 1087670482160|19|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
>> 1087670482174|1|1|statement|INSERT INTO OJB_HL_SEQ
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>
>> |INSERT INTO OJB_HL_SEQ  
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>
>> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
>> 1087670482294|2|1|commit||
>> 1087670482297|1|0|statement|INSERT INTO REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO  
>> REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
>> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractRe 
>> feren
>> ceQuery_1087670481726')
>>
>> 1087670482306|1|0|rollback||
>>
>>
>> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete*:
>> ------------------------------------------------------------------
>>
>> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=1], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
>> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis  
>> zum
>> Ende der Transaktion ignoriert
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(Referen 
>> ceTes
>> t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> aktuelle
>> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
>> Transaktion ignoriert
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=2], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(Referen 
>> ceTes
>> t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=3], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(Refere 
>> nceTe
>> st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>>
>> 1087670561940|10|1|statement|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
>> 1087670562017|70|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
>> 1087670562038|8|1|statement|INSERT INTO OJB_HL_SEQ
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>
>> |INSERT INTO OJB_HL_SEQ  
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>
>> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
>> 1087670562154|3|1|commit||
>> 1087670562157|1|0|statement|INSERT INTO REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO  
>> REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
>> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractRe 
>> feren
>> ceDelete_1087670561546')
>>
>> 1087670562201|0|0|rollback||
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: Unit test errors with PostgreSQL

Posted by Brian McCallister <mc...@forthillcompany.com>.
http://www.postgresql.org/docs/7.4/interactive/functions-matching.html


"To match a literal underscore or percent sign without matching other  
characters, the respective character in  pattern must be preceded by  
the escape character. The default escape character is the backslash but  
a different one may be selected by using the ESCAPE clause. To match  
the escape character itself, write two escape characters."

It should accept ESCAPE '\'

Any chance the escape is being handled in the Java string rather than  
passed though? I should think this would error elsewhere though.

-Brian

On Jun 19, 2004, at 4:11 PM, Jakob Braeuchi wrote:

> hi thomas,
>
> postgres does not seem to like the ESCAPE clause:
>
> SELECT A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM PERSON A0 WHERE  
> A0.FIRSTNAME LIKE
> 'h%\%' ESCAPE '\'
>
> do you know how to escape wildcards in postgres ?
>
> jakob
>
> Am Sa Juni 19 2004 20.45 schrieb Thomas Dudziak:
>> Jakob Braeuchi wrote:
>>> hi thomas,
>>>
>>> the easiest thing is to use a debugger and to direct the output of  
>>> p6spy
>>> to the console. that's how i do it in eclipse.
>>
>> Ok, with a bit of tweaking I got the unit tests to run. Here's what  
>> the
>> exception is and what the spy.log shows for the individual tests (I  
>> hope
>> it suffixes, don't have more time today for OJB):
>>
>>
>> *org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1*:
>> -----------------------------------------------------------
>>
>> testLikeEscapedCriteria1(org.apache.ojb.broker.QueryTest)
>> org.apache.ojb.broker.PersistenceBrokerException:
>> org.apache.ojb.broker.PersistenceBrokerSQLException:
>> org.postgresql.util.PSQLException: FEHLER: Fehler \x{FEB5}nterminated
>> quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>>
>> 	at
>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>> ueryR
>> eferenceBroker.java:240) at
>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>> ueryR
>> eferenceBroker.java:252) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery( 
>> Persi
>> stenceBrokerImpl.java:1238) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionBy 
>> Query
>> (DelegatingPersistenceBroker.java:332) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionBy 
>> Query
>> (DelegatingPersistenceBroker.java:332) at
>> org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1(QueryTest.jav 
>> a:285
>> ) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by:  
>> org.apache.ojb.broker.PersistenceBrokerSQLException:
>> org.postgresql.util.PSQLException: FEHLER: Fehler \x{FEB5}nterminated
>> quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>>
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAcce 
>> ssImp
>> l.java:318) at
>> org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryOb 
>> ject.
>> java:74) at
>> org.apache.ojb.broker.accesslayer.RsIterator.<init>(RsIterator.java: 
>> 183) at
>> org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIt 
>> erato
>> rFactoryImpl.java:58) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuer 
>> y(Per
>> sistenceBrokerImpl.java:1824) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery( 
>> Persi
>> stenceBrokerImpl.java:1354) at
>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>> ueryR
>> eferenceBroker.java:110) at
>> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(Q 
>> ueryR
>> eferenceBroker.java:232) ... 18 more
>> Caused by: org.postgresql.util.PSQLException: FEHLER: Fehler
>> \x{FEB5}nterminated quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1 
>> State
>> ment.java:231) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeQuery(P6LogPrep 
>> aredS
>> tatement.java:172) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAcce 
>> ssImp
>> l.java:283) ... 25 more
>>
>>
>>
>> 1087669389722|20|0|statement|SELECT A0.LASTNAME,A0.FIRSTNAME,A0.ID  
>> FROM
>> PERSON A0 WHERE A0.FIRSTNAME LIKE ? ESCAPE '\'|SELECT
>> A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM PERSON A0 WHERE A0.FIRSTNAME LIKE
>> 'h%\%' ESCAPE '\'
>>
>>
>> *org.apache.ojb.broker.KeyConstraintViolationTest.testKeyViolation*:
>> --------------------------------------------------------------------
>>
>>
>> testKeyViolation(org.apache.ojb.broker.KeyConstraintViolationTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.Article, PK of the
>> given object is [ articleId=12366], object was ----
>> Article No:   12366
>> Description:  repeated Article
>> ProductGroupId: 1
>> ProductGroupName: null
>> stock:        0
>> price:        0.0
>> stock-value   0.0
>> , exception message is [FEHLER: duplizierter Schl\x{BCB3}el verletzt
>> Unique-Constraint \x{FEA1}rtikel_pkey\x{FA40}Fnbtinsert.c
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1526) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:180) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:180) at
>> org.apache.ojb.broker.KeyConstraintViolationTest.testKeyViolation(KeyC 
>> onstr
>> aintViolationTest.java:50) at
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:
>> duplizierter Schl\x{BCB3}el verletzt Unique-Constraint
>> \x{FEA1}rtikel_pkey\x{FA40}Fnbtinsert.c
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 19 more
>>
>>
>>
>> 1087669751753|77|1|statement|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_Artikel'
>> 1087669751779|2|1|statement|UPDATE OJB_HL_SEQ SET
>> MAX_KEY=?,GRAB_SIZE=?,VERSION=? WHERE TABLENAME = ?  AND FIELDNAME = ?
>> AND VERSION = ? |UPDATE OJB_HL_SEQ SET
>> MAX_KEY='12385',GRAB_SIZE='20',VERSION='2' WHERE TABLENAME =
>> 'SEQ_Artikel'  AND FIELDNAME = 'deprecatedColumn'  AND VERSION = '1'
>> 1087669751782|2|1|commit||
>> 1087669751790|3|0|statement|INSERT INTO Artikel
>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>> elpre
>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>> VALUES
>> (?,?,?,?,?,?,?,?,?,?) |INSERT INTO Artikel
>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>> elpre
>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>> VALUES
>> ('12366','repeated Article','0','1','','0.0','0','0','0','0')
>> 1087669751797|3|0|commit||
>> 1087669751951|151|0|statement|INSERT INTO Artikel
>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>> elpre
>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>> VALUES
>> (?,?,?,?,?,?,?,?,?,?) |INSERT INTO Artikel
>> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einz 
>> elpre
>> is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel)  
>> VALUES
>> ('12366','repeated Article','0','1','','0.0','0','0','0','0')
>> 1087669751960|0|0|rollback||
>>
>>
>> *org.apache.ojb.broker.BlobTest.testBlobInsertion*:
>> ---------------------------------------------------
>>
>> testBlobInsertion(org.apache.ojb.broker.BlobTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class
>> org.apache.ojb.broker.BlobTest$ObjectWithBlob, PK of the given object  
>> is
>> [ id=1], object was
>> org.apache.ojb.broker.BlobTest$ObjectWithBlob@10ffb38, exception  
>> message
>> is [Unbekannter Zieltyp]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.BlobTest.testBlobInsertion(BlobTest.java:82) at
>> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: Unbekannter
>> Zieltyp
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1Sta 
>> temen
>> t.java:1675) at
>> org.postgresql.jdbc3.AbstractJdbc3Statement.setObject(AbstractJdbc3Sta 
>> temen
>> t.java:1370) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1Sta 
>> temen
>> t.java:1681) at
>> com.p6spy.engine.spy.P6PreparedStatement.setObject(P6PreparedStatement 
>> .java
>> :294) at
>> org.apache.ojb.broker.platforms.PlatformDefaultImpl.setObjectForStatem 
>> ent(P
>> latformDefaultImpl.java:227) at
>> org.apache.ojb.broker.platforms.PlatformPostgreSQLImpl.setObjectForSta 
>> temen
>> t(PlatformPostgreSQLImpl.java:40) at
>> org.apache.ojb.broker.accesslayer.StatementManager.bindInsert(Statemen 
>> tMana
>> ger.java:449) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:194) ... 21 more
>>
>>
>> 1087670081775|10|0|statement|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_BLOB_TEST'
>> 1087670081791|2|1|statement||SELECT MAX(ID) FROM BLOB_TEST
>> 1087670081808|3|0|statement|INSERT INTO OJB_HL_SEQ
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>
>> |INSERT INTO OJB_HL_SEQ  
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>
>> VALUES ('SEQ_BLOB_TEST','deprecatedColumn','20','20','1')
>> 1087670081820|8|0|commit||
>>
>>
>> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore*:
>> -----------------------------------------------------------------
>>
>>
>> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=1], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
>> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis  
>> zum
>> Ende der Transaktion ignoriert
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(Referen 
>> ceTes
>> t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> aktuelle
>> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
>> Transaktion ignoriert
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=2], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(Referen 
>> ceTes
>> t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=3], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(Refere 
>> nceTe
>> st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>>
>> 1087670371111|10|1|statement|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
>> 1087670371146|28|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
>> 1087670371160|2|1|statement|INSERT INTO OJB_HL_SEQ
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>
>> |INSERT INTO OJB_HL_SEQ  
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>
>> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
>> 1087670371274|39|1|commit||
>> 1087670371277|1|0|statement|INSERT INTO REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO  
>> REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
>> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractRe 
>> feren
>> ceStore_1087670370715')
>>
>> 1087670371286|0|0|rollback||
>>
>>
>> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery*:
>> -----------------------------------------------------------------
>>
>> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=1], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
>> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis  
>> zum
>> Ende der Transaktion ignoriert
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(Referen 
>> ceTes
>> t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> aktuelle
>> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
>> Transaktion ignoriert
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=2], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(Referen 
>> ceTes
>> t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=3], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(Refere 
>> nceTe
>> st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>>
>> 1087670482134|10|1|statement|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
>> 1087670482160|19|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
>> 1087670482174|1|1|statement|INSERT INTO OJB_HL_SEQ
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>
>> |INSERT INTO OJB_HL_SEQ  
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>
>> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
>> 1087670482294|2|1|commit||
>> 1087670482297|1|0|statement|INSERT INTO REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO  
>> REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
>> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractRe 
>> feren
>> ceQuery_1087670481726')
>>
>> 1087670482306|1|0|rollback||
>>
>>
>> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete*:
>> ------------------------------------------------------------------
>>
>> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=1], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
>> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis  
>> zum
>> Ende der Transaktion ignoriert
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(Referen 
>> ceTes
>> t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> aktuelle
>> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
>> Transaktion ignoriert
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=2], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(Referen 
>> ceTes
>> t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
>> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
>> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
>> PK of the given object is [ id=3], object was
>> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
>> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
>> ]
>> 	at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:243) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(Persistence 
>> Broke
>> rImpl.java:1658) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:1575) at
>> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrok 
>> erImp
>> l.java:707) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(Delegatin 
>> gPers
>> istenceBroker.java:174) at
>> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(Refere 
>> nceTe
>> st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native  
>> Method)
>> 	at
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.j 
>> ava:3
>> 9) at
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess 
>> orImp
>> l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
>> 	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
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(Remote 
>> TestR
>> unner.java:421) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestR 
>> unner
>> .java:305) at
>> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTest 
>> Runne
>> r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:  
>> Relation
>> \x{FEB2}ef_animal\x{FA60}existiert nicht
>>
>> 	at
>> org.postgresql.util.PSQLException.parseServerError(PSQLException.java: 
>> 139)
>> 	at  
>> org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
>> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
>> 	at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1State 
>> ment.
>> java:515) at
>> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2State 
>> ment.
>> java:50) at
>> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc 
>> 1Stat
>> ement.java:271) at
>> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPre 
>> pared
>> Statement.java:183) at
>> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAcc 
>> essIm
>> pl.java:198) ... 21 more
>>
>>
>> 1087670561940|10|1|statement|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
>> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
>> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
>> 1087670562017|70|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
>> 1087670562038|8|1|statement|INSERT INTO OJB_HL_SEQ
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>>
>> |INSERT INTO OJB_HL_SEQ  
>> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>>
>> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
>> 1087670562154|3|1|commit||
>> 1087670562157|1|0|statement|INSERT INTO REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO  
>> REF_ANIMAL
>> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
>> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractRe 
>> feren
>> ceDelete_1087670561546')
>>
>> 1087670562201|0|0|rollback||
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
>> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: Unit test errors with PostgreSQL

Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi thomas,

postgres does not seem to like the ESCAPE clause:

SELECT A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM PERSON A0 WHERE A0.FIRSTNAME LIKE 
'h%\%' ESCAPE '\'

do you know how to escape wildcards in postgres ?

jakob

Am Sa Juni 19 2004 20.45 schrieb Thomas Dudziak:
> Jakob Braeuchi wrote:
> > hi thomas,
> >
> > the easiest thing is to use a debugger and to direct the output of p6spy
> > to the console. that's how i do it in eclipse.
>
> Ok, with a bit of tweaking I got the unit tests to run. Here's what the
> exception is and what the spy.log shows for the individual tests (I hope
> it suffixes, don't have more time today for OJB):
>
>
> *org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1*:
> -----------------------------------------------------------
>
> testLikeEscapedCriteria1(org.apache.ojb.broker.QueryTest)
> org.apache.ojb.broker.PersistenceBrokerException:
> org.apache.ojb.broker.PersistenceBrokerSQLException:
> org.postgresql.util.PSQLException: FEHLER: Fehler \x{FEB5}nterminated
> quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>
> 	at
> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryR
>eferenceBroker.java:240) at
> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryR
>eferenceBroker.java:252) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery(Persi
>stenceBrokerImpl.java:1238) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery
>(DelegatingPersistenceBroker.java:332) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery
>(DelegatingPersistenceBroker.java:332) at
> org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1(QueryTest.java:285
>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.apache.ojb.broker.PersistenceBrokerSQLException:
> org.postgresql.util.PSQLException: FEHLER: Fehler \x{FEB5}nterminated
> quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImp
>l.java:318) at
> org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.
>java:74) at
> org.apache.ojb.broker.accesslayer.RsIterator.<init>(RsIterator.java:183) at
> org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIterato
>rFactoryImpl.java:58) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(Per
>sistenceBrokerImpl.java:1824) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(Persi
>stenceBrokerImpl.java:1354) at
> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryR
>eferenceBroker.java:110) at
> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryR
>eferenceBroker.java:232) ... 18 more
> Caused by: org.postgresql.util.PSQLException: FEHLER: Fehler
> \x{FEB5}nterminated quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1State
>ment.java:231) at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeQuery(P6LogPreparedS
>tatement.java:172) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImp
>l.java:283) ... 25 more
>
>
>
> 1087669389722|20|0|statement|SELECT A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM
> PERSON A0 WHERE A0.FIRSTNAME LIKE ? ESCAPE '\'|SELECT
> A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM PERSON A0 WHERE A0.FIRSTNAME LIKE
> 'h%\%' ESCAPE '\'
>
>
> *org.apache.ojb.broker.KeyConstraintViolationTest.testKeyViolation*:
> --------------------------------------------------------------------
>
>
> testKeyViolation(org.apache.ojb.broker.KeyConstraintViolationTest)
> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> insert object data for class org.apache.ojb.broker.Article, PK of the
> given object is [ articleId=12366], object was ----
> Article No:   12366
> Description:  repeated Article
> ProductGroupId: 1
> ProductGroupName: null
> stock:        0
> price:        0.0
> stock-value   0.0
> , exception message is [FEHLER: duplizierter Schl\x{BCB3}el verletzt
> Unique-Constraint \x{FEA1}rtikel_pkey\x{FA40}Fnbtinsert.c
> ]
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:243) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1658) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1526) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:180) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:180) at
> org.apache.ojb.broker.KeyConstraintViolationTest.testKeyViolation(KeyConstr
>aintViolationTest.java:50) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER:
> duplizierter Schl\x{BCB3}el verletzt Unique-Constraint
> \x{FEA1}rtikel_pkey\x{FA40}Fnbtinsert.c
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
>ement.java:271) at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPrepared
>Statement.java:183) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:198) ... 19 more
>
>
>
> 1087669751753|77|1|statement|SELECT
> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_Artikel'
> 1087669751779|2|1|statement|UPDATE OJB_HL_SEQ SET
> MAX_KEY=?,GRAB_SIZE=?,VERSION=? WHERE TABLENAME = ?  AND FIELDNAME = ?
> AND VERSION = ? |UPDATE OJB_HL_SEQ SET
> MAX_KEY='12385',GRAB_SIZE='20',VERSION='2' WHERE TABLENAME =
> 'SEQ_Artikel'  AND FIELDNAME = 'deprecatedColumn'  AND VERSION = '1'
> 1087669751782|2|1|commit||
> 1087669751790|3|0|statement|INSERT INTO Artikel
> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einzelpre
>is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel) VALUES
> (?,?,?,?,?,?,?,?,?,?) |INSERT INTO Artikel
> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einzelpre
>is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel) VALUES
> ('12366','repeated Article','0','1','','0.0','0','0','0','0')
> 1087669751797|3|0|commit||
> 1087669751951|151|0|statement|INSERT INTO Artikel
> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einzelpre
>is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel) VALUES
> (?,?,?,?,?,?,?,?,?,?) |INSERT INTO Artikel
> (Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einzelpre
>is,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel) VALUES
> ('12366','repeated Article','0','1','','0.0','0','0','0','0')
> 1087669751960|0|0|rollback||
>
>
> *org.apache.ojb.broker.BlobTest.testBlobInsertion*:
> ---------------------------------------------------
>
> testBlobInsertion(org.apache.ojb.broker.BlobTest)
> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> insert object data for class
> org.apache.ojb.broker.BlobTest$ObjectWithBlob, PK of the given object is
> [ id=1], object was
> org.apache.ojb.broker.BlobTest$ObjectWithBlob@10ffb38, exception message
> is [Unbekannter Zieltyp]
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:243) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1658) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:707) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.BlobTest.testBlobInsertion(BlobTest.java:82) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.postgresql.util.PSQLException: Unbekannter
> Zieltyp
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1Statemen
>t.java:1675) at
> org.postgresql.jdbc3.AbstractJdbc3Statement.setObject(AbstractJdbc3Statemen
>t.java:1370) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1Statemen
>t.java:1681) at
> com.p6spy.engine.spy.P6PreparedStatement.setObject(P6PreparedStatement.java
>:294) at
> org.apache.ojb.broker.platforms.PlatformDefaultImpl.setObjectForStatement(P
>latformDefaultImpl.java:227) at
> org.apache.ojb.broker.platforms.PlatformPostgreSQLImpl.setObjectForStatemen
>t(PlatformPostgreSQLImpl.java:40) at
> org.apache.ojb.broker.accesslayer.StatementManager.bindInsert(StatementMana
>ger.java:449) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:194) ... 21 more
>
>
> 1087670081775|10|0|statement|SELECT
> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_BLOB_TEST'
> 1087670081791|2|1|statement||SELECT MAX(ID) FROM BLOB_TEST
> 1087670081808|3|0|statement|INSERT INTO OJB_HL_SEQ
> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>
> |INSERT INTO OJB_HL_SEQ (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>
> VALUES ('SEQ_BLOB_TEST','deprecatedColumn','20','20','1')
> 1087670081820|8|0|commit||
>
>
> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore*:
> -----------------------------------------------------------------
>
>
> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
> PK of the given object is [ id=1], object was
> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum
> Ende der Transaktion ignoriert
> ]
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:243) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1658) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:707) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(ReferenceTes
>t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER: aktuelle
> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
> Transaktion ignoriert
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
>ement.java:271) at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPrepared
>Statement.java:183) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:198) ... 21 more
>
> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
> PK of the given object is [ id=2], object was
> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
> ]
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:243) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1658) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:707) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(ReferenceTes
>t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER: Relation
> \x{FEB2}ef_animal\x{FA60}existiert nicht
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
>ement.java:271) at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPrepared
>Statement.java:183) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:198) ... 21 more
>
> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
> PK of the given object is [ id=3], object was
> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
> ]
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:243) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1658) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:707) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(ReferenceTe
>st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER: Relation
> \x{FEB2}ef_animal\x{FA60}existiert nicht
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
>ement.java:271) at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPrepared
>Statement.java:183) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:198) ... 21 more
>
>
> 1087670371111|10|1|statement|SELECT
> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
> 1087670371146|28|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
> 1087670371160|2|1|statement|INSERT INTO OJB_HL_SEQ
> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>
> |INSERT INTO OJB_HL_SEQ (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>
> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
> 1087670371274|39|1|commit||
> 1087670371277|1|0|statement|INSERT INTO REF_ANIMAL
> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO REF_ANIMAL
> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractReferen
>ceStore_1087670370715')
>
> 1087670371286|0|0|rollback||
>
>
> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery*:
> -----------------------------------------------------------------
>
> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
> PK of the given object is [ id=1], object was
> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum
> Ende der Transaktion ignoriert
> ]
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:243) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1658) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:707) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(ReferenceTes
>t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER: aktuelle
> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
> Transaktion ignoriert
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
>ement.java:271) at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPrepared
>Statement.java:183) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:198) ... 21 more
>
> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
> PK of the given object is [ id=2], object was
> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
> ]
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:243) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1658) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:707) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(ReferenceTes
>t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER: Relation
> \x{FEB2}ef_animal\x{FA60}existiert nicht
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
>ement.java:271) at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPrepared
>Statement.java:183) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:198) ... 21 more
>
> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
> PK of the given object is [ id=3], object was
> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
> ]
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:243) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1658) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:707) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(ReferenceTe
>st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER: Relation
> \x{FEB2}ef_animal\x{FA60}existiert nicht
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
>ement.java:271) at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPrepared
>Statement.java:183) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:198) ... 21 more
>
>
> 1087670482134|10|1|statement|SELECT
> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
> 1087670482160|19|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
> 1087670482174|1|1|statement|INSERT INTO OJB_HL_SEQ
> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>
> |INSERT INTO OJB_HL_SEQ (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>
> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
> 1087670482294|2|1|commit||
> 1087670482297|1|0|statement|INSERT INTO REF_ANIMAL
> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO REF_ANIMAL
> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractReferen
>ceQuery_1087670481726')
>
> 1087670482306|1|0|rollback||
>
>
> *org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete*:
> ------------------------------------------------------------------
>
> testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
> PK of the given object is [ id=1], object was
> org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is
> [FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum
> Ende der Transaktion ignoriert
> ]
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:243) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1658) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:707) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(ReferenceTes
>t.java:654) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER: aktuelle
> Transaktion wurde abgebrochen, Befehle werden bis zum Ende der
> Transaktion ignoriert
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
>ement.java:271) at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPrepared
>Statement.java:183) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:198) ... 21 more
>
> testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
> PK of the given object is [ id=2], object was
> org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is
> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
> ]
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:243) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1658) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:707) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(ReferenceTes
>t.java:740) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER: Relation
> \x{FEB2}ef_animal\x{FA60}existiert nicht
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
>ement.java:271) at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPrepared
>Statement.java:183) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:198) ... 21 more
>
> testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
> org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while
> insert object data for class org.apache.ojb.broker.ReferenceTest$Bird,
> PK of the given object is [ id=3], object was
> org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is
> [FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
> ]
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:243) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1658) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:707) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(ReferenceTe
>st.java:837) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestR
>unner.java:421) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner
>.java:305) at
> org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunne
>r.java:186) Caused by: org.postgresql.util.PSQLException: FEHLER: Relation
> \x{FEB2}ef_animal\x{FA60}existiert nicht
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
>ement.java:271) at
> com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPrepared
>Statement.java:183) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessIm
>pl.java:198) ... 21 more
>
>
> 1087670561940|10|1|statement|SELECT
> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
> OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT
> A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM
> OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
> 1087670562017|70|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
> 1087670562038|8|1|statement|INSERT INTO OJB_HL_SEQ
> (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?)
>
> |INSERT INTO OJB_HL_SEQ (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION)
>
> VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
> 1087670562154|3|1|commit||
> 1087670562157|1|0|statement|INSERT INTO REF_ANIMAL
> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO REF_ANIMAL
> (A_ID,CLASS_NAME,LENGTH_,NAME) VALUES
> ('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractReferen
>ceDelete_1087670561546')
>
> 1087670562201|0|0|rollback||
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: Unit test errors with PostgreSQL

Posted by Thomas Dudziak <to...@first.fhg.de>.
Jakob Braeuchi wrote:

> hi thomas,
> 
> the easiest thing is to use a debugger and to direct the output of p6spy to 
> the console. that's how i do it in eclipse.

Ok, with a bit of tweaking I got the unit tests to run. Here's what the 
exception is and what the spy.log shows for the individual tests (I hope 
it suffixes, don't have more time today for OJB):


*org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1*:
-----------------------------------------------------------

testLikeEscapedCriteria1(org.apache.ojb.broker.QueryTest)
org.apache.ojb.broker.PersistenceBrokerException: 
org.apache.ojb.broker.PersistenceBrokerSQLException: 
org.postgresql.util.PSQLException: FEHLER: Fehler \x{FEB5}nterminated 
quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93

	at 
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:240)
	at 
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:252)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery(PersistenceBrokerImpl.java:1238)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(DelegatingPersistenceBroker.java:332)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery(DelegatingPersistenceBroker.java:332)
	at 
org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1(QueryTest.java:285)
	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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.apache.ojb.broker.PersistenceBrokerSQLException: 
org.postgresql.util.PSQLException: FEHLER: Fehler \x{FEB5}nterminated 
quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93

	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl.java:318)
	at 
org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.java:74)
	at org.apache.ojb.broker.accesslayer.RsIterator.<init>(RsIterator.java:183)
	at 
org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIteratorFactoryImpl.java:58)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(PersistenceBrokerImpl.java:1824)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(PersistenceBrokerImpl.java:1354)
	at 
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:110)
	at 
org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryReferenceBroker.java:232)
	... 18 more
Caused by: org.postgresql.util.PSQLException: FEHLER: Fehler 
\x{FEB5}nterminated quoted string\x{FA60}bei \x{FE67}\'\x{FA40}P93

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1Statement.java:231)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeQuery(P6LogPreparedStatement.java:172)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImpl.java:283)
	... 25 more



1087669389722|20|0|statement|SELECT A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM 
PERSON A0 WHERE A0.FIRSTNAME LIKE ? ESCAPE '\'|SELECT 
A0.LASTNAME,A0.FIRSTNAME,A0.ID FROM PERSON A0 WHERE A0.FIRSTNAME LIKE 
'h%\%' ESCAPE '\'


*org.apache.ojb.broker.KeyConstraintViolationTest.testKeyViolation*:
--------------------------------------------------------------------


testKeyViolation(org.apache.ojb.broker.KeyConstraintViolationTest)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class org.apache.ojb.broker.Article, PK of the 
given object is [ articleId=12366], object was ----
Article No:   12366
Description:  repeated Article
ProductGroupId: 1
ProductGroupName: null
stock:        0
price:        0.0
stock-value   0.0
, exception message is [FEHLER: duplizierter Schl\x{BCB3}el verletzt 
Unique-Constraint \x{FEA1}rtikel_pkey\x{FA40}Fnbtinsert.c
]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1526)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:180)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:180)
	at 
org.apache.ojb.broker.KeyConstraintViolationTest.testKeyViolation(KeyConstraintViolationTest.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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.postgresql.util.PSQLException: FEHLER: duplizierter 
Schl\x{BCB3}el verletzt Unique-Constraint 
\x{FEA1}rtikel_pkey\x{FA40}Fnbtinsert.c

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:198)
	... 19 more



1087669751753|77|1|statement|SELECT 
A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM 
OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT 
A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM 
OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_Artikel'
1087669751779|2|1|statement|UPDATE OJB_HL_SEQ SET 
MAX_KEY=?,GRAB_SIZE=?,VERSION=? WHERE TABLENAME = ?  AND FIELDNAME = ? 
AND VERSION = ? |UPDATE OJB_HL_SEQ SET 
MAX_KEY='12385',GRAB_SIZE='20',VERSION='2' WHERE TABLENAME = 
'SEQ_Artikel'  AND FIELDNAME = 'deprecatedColumn'  AND VERSION = '1'
1087669751782|2|1|commit||
1087669751790|3|0|statement|INSERT INTO Artikel 
(Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einzelpreis,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel) 
VALUES (?,?,?,?,?,?,?,?,?,?) |INSERT INTO Artikel 
(Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einzelpreis,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel) 
VALUES ('12366','repeated Article','0','1','','0.0','0','0','0','0')
1087669751797|3|0|commit||
1087669751951|151|0|statement|INSERT INTO Artikel 
(Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einzelpreis,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel) 
VALUES (?,?,?,?,?,?,?,?,?,?) |INSERT INTO Artikel 
(Artikel_Nr,Artikelname,Lieferanten_Nr,Kategorie_Nr,Liefereinheit,Einzelpreis,Lagerbestand,BestellteEinheiten,MindestBestand,Auslaufartikel) 
VALUES ('12366','repeated Article','0','1','','0.0','0','0','0','0')
1087669751960|0|0|rollback||


*org.apache.ojb.broker.BlobTest.testBlobInsertion*:
---------------------------------------------------

testBlobInsertion(org.apache.ojb.broker.BlobTest)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class 
org.apache.ojb.broker.BlobTest$ObjectWithBlob, PK of the given object is 
[ id=1], object was 
org.apache.ojb.broker.BlobTest$ObjectWithBlob@10ffb38, exception message 
is [Unbekannter Zieltyp]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:707)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at org.apache.ojb.broker.BlobTest.testBlobInsertion(BlobTest.java:82)
	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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.postgresql.util.PSQLException: Unbekannter Zieltyp
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1Statement.java:1675)
	at 
org.postgresql.jdbc3.AbstractJdbc3Statement.setObject(AbstractJdbc3Statement.java:1370)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.setObject(AbstractJdbc1Statement.java:1681)
	at 
com.p6spy.engine.spy.P6PreparedStatement.setObject(P6PreparedStatement.java:294)
	at 
org.apache.ojb.broker.platforms.PlatformDefaultImpl.setObjectForStatement(PlatformDefaultImpl.java:227)
	at 
org.apache.ojb.broker.platforms.PlatformPostgreSQLImpl.setObjectForStatement(PlatformPostgreSQLImpl.java:40)
	at 
org.apache.ojb.broker.accesslayer.StatementManager.bindInsert(StatementManager.java:449)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:194)
	... 21 more


1087670081775|10|0|statement|SELECT 
A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM 
OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT 
A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM 
OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_BLOB_TEST'
1087670081791|2|1|statement||SELECT MAX(ID) FROM BLOB_TEST
1087670081808|3|0|statement|INSERT INTO OJB_HL_SEQ 
(TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?) 
|INSERT INTO OJB_HL_SEQ (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) 
VALUES ('SEQ_BLOB_TEST','deprecatedColumn','20','20','1')
1087670081820|8|0|commit||


*org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore*:
-----------------------------------------------------------------


testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class org.apache.ojb.broker.ReferenceTest$Bird, 
PK of the given object is [ id=1], object was 
org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is 
[FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum 
Ende der Transaktion ignoriert
]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:707)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(ReferenceTest.java:654)
	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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.postgresql.util.PSQLException: FEHLER: aktuelle 
Transaktion wurde abgebrochen, Befehle werden bis zum Ende der 
Transaktion ignoriert

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:198)
	... 21 more

testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class org.apache.ojb.broker.ReferenceTest$Bird, 
PK of the given object is [ id=2], object was 
org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is 
[FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:707)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(ReferenceTest.java:740)
	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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.postgresql.util.PSQLException: FEHLER: Relation 
\x{FEB2}ef_animal\x{FA60}existiert nicht

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:198)
	... 21 more

testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class org.apache.ojb.broker.ReferenceTest$Bird, 
PK of the given object is [ id=3], object was 
org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is 
[FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:707)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(ReferenceTest.java:837)
	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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.postgresql.util.PSQLException: FEHLER: Relation 
\x{FEB2}ef_animal\x{FA60}existiert nicht

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:198)
	... 21 more


1087670371111|10|1|statement|SELECT 
A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM 
OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT 
A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM 
OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
1087670371146|28|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
1087670371160|2|1|statement|INSERT INTO OJB_HL_SEQ 
(TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?) 
|INSERT INTO OJB_HL_SEQ (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) 
VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
1087670371274|39|1|commit||
1087670371277|1|0|statement|INSERT INTO REF_ANIMAL 
(A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO REF_ANIMAL 
(A_ID,CLASS_NAME,LENGTH_,NAME) VALUES 
('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractReferenceStore_1087670370715') 

1087670371286|0|0|rollback||


*org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery*:
-----------------------------------------------------------------

testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class org.apache.ojb.broker.ReferenceTest$Bird, 
PK of the given object is [ id=1], object was 
org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is 
[FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum 
Ende der Transaktion ignoriert
]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:707)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(ReferenceTest.java:654)
	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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.postgresql.util.PSQLException: FEHLER: aktuelle 
Transaktion wurde abgebrochen, Befehle werden bis zum Ende der 
Transaktion ignoriert

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:198)
	... 21 more

testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class org.apache.ojb.broker.ReferenceTest$Bird, 
PK of the given object is [ id=2], object was 
org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is 
[FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:707)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(ReferenceTest.java:740)
	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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.postgresql.util.PSQLException: FEHLER: Relation 
\x{FEB2}ef_animal\x{FA60}existiert nicht

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:198)
	... 21 more

testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class org.apache.ojb.broker.ReferenceTest$Bird, 
PK of the given object is [ id=3], object was 
org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is 
[FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:707)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(ReferenceTest.java:837)
	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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.postgresql.util.PSQLException: FEHLER: Relation 
\x{FEB2}ef_animal\x{FA60}existiert nicht

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:198)
	... 21 more


1087670482134|10|1|statement|SELECT 
A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM 
OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT 
A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM 
OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
1087670482160|19|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
1087670482174|1|1|statement|INSERT INTO OJB_HL_SEQ 
(TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?) 
|INSERT INTO OJB_HL_SEQ (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) 
VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
1087670482294|2|1|commit||
1087670482297|1|0|statement|INSERT INTO REF_ANIMAL 
(A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO REF_ANIMAL 
(A_ID,CLASS_NAME,LENGTH_,NAME) VALUES 
('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractReferenceQuery_1087670481726') 

1087670482306|1|0|rollback||


*org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete*:
------------------------------------------------------------------

testAbstractReferenceStore(org.apache.ojb.broker.ReferenceTest)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class org.apache.ojb.broker.ReferenceTest$Bird, 
PK of the given object is [ id=1], object was 
org.apache.ojb.broker.ReferenceTest$Bird@d507e9, exception message is 
[FEHLER: aktuelle Transaktion wurde abgebrochen, Befehle werden bis zum 
Ende der Transaktion ignoriert
]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:707)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.ReferenceTest.testAbstractReferenceStore(ReferenceTest.java:654)
	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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.postgresql.util.PSQLException: FEHLER: aktuelle 
Transaktion wurde abgebrochen, Befehle werden bis zum Ende der 
Transaktion ignoriert

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:198)
	... 21 more

testAbstractReferenceQuery(org.apache.ojb.broker.ReferenceTest)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class org.apache.ojb.broker.ReferenceTest$Bird, 
PK of the given object is [ id=2], object was 
org.apache.ojb.broker.ReferenceTest$Bird@32060c, exception message is 
[FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:707)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.ReferenceTest.testAbstractReferenceQuery(ReferenceTest.java:740)
	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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.postgresql.util.PSQLException: FEHLER: Relation 
\x{FEB2}ef_animal\x{FA60}existiert nicht

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:198)
	... 21 more

testAbstractReferenceDelete(org.apache.ojb.broker.ReferenceTest)
org.apache.ojb.broker.PersistenceBrokerSQLException: SQL failure while 
insert object data for class org.apache.ojb.broker.ReferenceTest$Bird, 
PK of the given object is [ id=3], object was 
org.apache.ojb.broker.ReferenceTest$Bird@1efb4be, exception message is 
[FEHLER: Relation \x{FEB2}ef_animal\x{FA60}existiert nicht
]
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:243)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBrokerImpl.java:1658)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:1575)
	at 
org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImpl.java:707)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPersistenceBroker.java:174)
	at 
org.apache.ojb.broker.ReferenceTest.testAbstractReferenceDelete(ReferenceTest.java:837)
	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:324)
	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 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:421)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:305)
	at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:186)
Caused by: org.postgresql.util.PSQLException: FEHLER: Relation 
\x{FEB2}ef_animal\x{FA60}existiert nicht

	at 
org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:515)
	at 
org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:50)
	at 
org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Statement.java:271)
	at 
com.p6spy.engine.logging.P6LogPreparedStatement.executeUpdate(P6LogPreparedStatement.java:183)
	at 
org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeInsert(JdbcAccessImpl.java:198)
	... 21 more


1087670561940|10|1|statement|SELECT 
A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM 
OJB_HL_SEQ A0 WHERE A0.TABLENAME = ?|SELECT 
A0.VERSION,A0.GRAB_SIZE,A0.MAX_KEY,A0.FIELDNAME,A0.TABLENAME FROM 
OJB_HL_SEQ A0 WHERE A0.TABLENAME = 'SEQ_REF_ANIMAL'
1087670562017|70|0|statement||SELECT MAX(A_ID) FROM REF_ANIMAL
1087670562038|8|1|statement|INSERT INTO OJB_HL_SEQ 
(TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) VALUES (?,?,?,?,?) 
|INSERT INTO OJB_HL_SEQ (TABLENAME,FIELDNAME,MAX_KEY,GRAB_SIZE,VERSION) 
VALUES ('SEQ_REF_ANIMAL','deprecatedColumn','20','20','1')
1087670562154|3|1|commit||
1087670562157|1|0|statement|INSERT INTO REF_ANIMAL 
(A_ID,CLASS_NAME,LENGTH_,NAME) VALUES (?,?,?,?) |INSERT INTO REF_ANIMAL 
(A_ID,CLASS_NAME,LENGTH_,NAME) VALUES 
('1','org.apache.ojb.broker.ReferenceTest$Bird','0.99','testAbstractReferenceDelete_1087670561546') 

1087670562201|0|0|rollback||

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: Unit test errors with PostgreSQL

Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi thomas,

the easiest thing is to use a debugger and to direct the output of p6spy to 
the console. that's how i do it in eclipse.

jakob

Am Sa Juni 19 2004 19.25 schrieb Thomas Dudziak:
> Jakob Braeuchi wrote:
> > hi thomas,
> >
> > could you please post the sql that produced the error ?
>
> Seriously, I can't because its far too much entries in the spy.log (for
> org.apache.ojb.broker.QueryTest alone its about 1700 lines in the
> spy.log). I can send you the spy.log directly, though, if you want.
>
> Btw, the odmg tests that I mentioned are not definite in their behavior;
> one time they fail and the other time they pass.
>
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: Unit test errors with PostgreSQL

Posted by Thomas Dudziak <to...@first.fhg.de>.
Jakob Braeuchi wrote:
> hi thomas,
> 
> could you please post the sql that produced the error ?

Seriously, I can't because its far too much entries in the spy.log (for 
org.apache.ojb.broker.QueryTest alone its about 1700 lines in the 
spy.log). I can send you the spy.log directly, though, if you want.

Btw, the odmg tests that I mentioned are not definite in their behavior; 
one time they fail and the other time they pass.

Tom

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org


Re: Unit test errors with PostgreSQL

Posted by Jakob Braeuchi <jb...@gmx.ch>.
hi thomas,

could you please post the sql that produced the error ?

jakob

Am Samstag, 19. Juni 2004 16.49 schrieb Thomas Dudziak:
> I have 1 failure and 6 errors, all in PB Tests, when running against
> PostgreSQL (PostgreSQL 7.4.1 on Mandrake 10, JDK 1.4.2_04, JDBC level 3
> driver):
>
> testLikeEscapedCriteria1
> testKeyViolation
> testBlobInsertion
> testAbstractReferenceStore
> testAbstractReferenceQuery
> testAbstractReferenceDelete
> testWeakIdentityMap
>
> Here's the system.err output:
>
>
> org.postgresql.util.PSQLException: FEHLER: Fehler ?nterminated quoted
> string?bei ?\'?P93
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1State
>ment.java:231) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImp
>l.java:283) at
> org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.
>java:74) at
> org.apache.ojb.broker.accesslayer.RsIterator.&lt;init&gt;(RsIterator.java:1
>83) at
> org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIterato
>rFactoryImpl.java:58) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(Per
>sistenceBrokerImpl.java:1824) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(Persi
>stenceBrokerImpl.java:1354) at
> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryR
>eferenceBroker.java:110) at
> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryR
>eferenceBroker.java:232) at
> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryR
>eferenceBroker.java:252) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery(Persi
>stenceBrokerImpl.java:1238) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery
>(DelegatingPersistenceBroker.java:332) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery
>(DelegatingPersistenceBroker.java:332) at
> org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1(QueryTest.java:285
>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestR
>unner.java:326) at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTest
>Runner.java:560) org.apache.ojb.broker.PersistenceBrokerSQLException:
> org.postgresql.util.PSQLException: FEHLER: Fehler ?nterminated quoted
> string?bei ?\'?P93
>
> 	at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImp
>l.java:318) at
> org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.
>java:74) at
> org.apache.ojb.broker.accesslayer.RsIterator.&lt;init&gt;(RsIterator.java:1
>83) at
> org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIterato
>rFactoryImpl.java:58) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(Per
>sistenceBrokerImpl.java:1824) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(Persi
>stenceBrokerImpl.java:1354) at
> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryR
>eferenceBroker.java:110) at
> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryR
>eferenceBroker.java:232) at
> org.apache.ojb.broker.core.QueryReferenceBroker.getCollectionByQuery(QueryR
>eferenceBroker.java:252) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getCollectionByQuery(Persi
>stenceBrokerImpl.java:1238) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery
>(DelegatingPersistenceBroker.java:332) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCollectionByQuery
>(DelegatingPersistenceBroker.java:332) at
> org.apache.ojb.broker.QueryTest.testLikeEscapedCriteria1(QueryTest.java:285
>) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestR
>unner.java:326) at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTest
>Runner.java:560) Caused by: org.postgresql.util.PSQLException: FEHLER:
> Fehler
> ?nterminated quoted string?bei ?\'?P93
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1State
>ment.java:231) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImp
>l.java:283) ... 28 more
> org.postgresql.util.PSQLException: FEHLER: Relation ?ot_exist?existiert
> nicht
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeQuery(AbstractJdbc1State
>ment.java:231) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeSQL(JdbcAccessImpl.
>java:350) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeSQL(JdbcAccessImpl.
>java:328) at
> org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.
>java:70) at
> org.apache.ojb.broker.accesslayer.RsIterator.&lt;init&gt;(RsIterator.java:1
>83) at
> org.apache.ojb.broker.accesslayer.SqlBasedRsIterator.&lt;init&gt;(SqlBasedR
>sIterator.java:36) at
> org.apache.ojb.broker.core.RsIteratorFactoryImpl.createRsIterator(RsIterato
>rFactoryImpl.java:67) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(Per
>sistenceBrokerImpl.java:1816) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getIteratorFromQuery(Persi
>stenceBrokerImpl.java:1354) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getObjectByQuery(Persisten
>ceBrokerImpl.java:1465) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuery(Del
>egatingPersistenceBroker.java:301) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getObjectByQuery(Del
>egatingPersistenceBroker.java:301) at
> org.apache.ojb.broker.PersistenceBrokerTest.testLocalTransactionDemarcation
>(PersistenceBrokerTest.java:425) at
> sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestR
>unner.java:326) at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTest
>Runner.java:560) !! The follwing SQLException is part of the Test !!
> org.postgresql.util.PSQLException: FEHLER: Einf?n oder Aktualisieren in
> Tabelle ?erson_project?verletzt Fremdschl?el-Constraint
> ?erson_project_fk_1?DSchl?el (person_id)=(119) ist nicht in Tabelle
> ?erson?vorhanden.
>
> 	at
> org.postgresql.util.PSQLException.parseServerError(PSQLException.java:139)
> 	at org.postgresql.core.QueryExecutor.executeV3(QueryExecutor.java:154)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:101)
> 	at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:43)
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.
>java:515) at
> org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.
>java:50) at
> org.postgresql.jdbc1.AbstractJdbc1Statement.executeUpdate(AbstractJdbc1Stat
>ement.java:271) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeUpdateSQL(JdbcAcces
>sImpl.java:417) at
> org.apache.ojb.broker.core.MtoNBroker.storeMtoNImplementor(MtoNBroker.java:
>84) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeAndLinkMtoN(Persisten
>ceBrokerImpl.java:889) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeCollections(Persisten
>ceBrokerImpl.java:803) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.storeToDb(PersistenceBroke
>rImpl.java:1682) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:1575) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.store(PersistenceBrokerImp
>l.java:707) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.store(DelegatingPers
>istenceBroker.java:174) at
> org.apache.ojb.broker.PBRollbackTest.storeObjects(PBRollbackTest.java:320)
> 	at
> org.apache.ojb.broker.PBRollbackTest.testRollbackCausedBySQLException(PBRol
>lbackTest.java:287) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native
> Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestR
>unner.java:326) at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTest
>Runner.java:560) org.postgresql.util.PSQLException: Backend start-up failed:
> org.postgresql.util.PSQLException: FATAL: Benutzer &raquo;!!TestCase:
> This should fail!!&laquo; existiert nicht
>
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Connection.openConnectionV3(AbstractJdbc1
>Connection.java:445) at
> org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Co
>nnection.java:213) at org.postgresql.Driver.connect(Driver.java:139)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:512)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:171)
> 	at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnecti
>onFromDriverManager(ConnectionFactoryAbstractImpl.java:253) at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl$ConPoolFactor
>y.makeObject(ConnectionFactoryPooledImpl.java:231) at
> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPo
>ol.java:816) at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl.getConnection
>FromPool(ConnectionFactoryPooledImpl.java:81) at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConne
>ction(ConnectionFactoryAbstractImpl.java:116) at
> org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(Conne
>ctionManagerImpl.java:105) at
> org.apache.ojb.broker.accesslayer.StatementManager.getPreparedStatement(Sta
>tementManager.java:637) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImp
>l.java:277) at
> org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.
>java:74) at
> org.apache.ojb.broker.accesslayer.RsIterator.&lt;init&gt;(RsIterator.java:1
>83) at
> org.apache.ojb.broker.accesslayer.ReportQueryRsIterator.&lt;init&gt;(Report
>QueryRsIterator.java:43) at
> org.apache.ojb.broker.core.ReportRsIteratorFactoryImpl.createRsIterator(Rep
>ortRsIteratorFactoryImpl.java:59) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(Per
>sistenceBrokerImpl.java:1824) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getReportQueryIteratorFrom
>Query(PersistenceBrokerImpl.java:1871) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getReportQueryIteratorByQu
>ery(PersistenceBrokerImpl.java:1799) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getCount(PersistenceBroker
>Impl.java:1770) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCount(DelegatingP
>ersistenceBroker.java:327) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCount(DelegatingP
>ersistenceBroker.java:327) at
> org.apache.ojb.broker.metadata.MetadataTest.testLookupPB2(MetadataTest.java
>:299) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestR
>unner.java:326) at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTest
>Runner.java:560) org.apache.ojb.broker.PersistenceBrokerException: Used
> ConnectionManager instance could not obtain a connection
> 	at
> org.apache.ojb.broker.accesslayer.StatementManager.getPreparedStatement(Sta
>tementManager.java:641) at
> org.apache.ojb.broker.accesslayer.JdbcAccessImpl.executeQuery(JdbcAccessImp
>l.java:277) at
> org.apache.ojb.broker.accesslayer.RsQueryObject.performQuery(RsQueryObject.
>java:74) at
> org.apache.ojb.broker.accesslayer.RsIterator.&lt;init&gt;(RsIterator.java:1
>83) at
> org.apache.ojb.broker.accesslayer.ReportQueryRsIterator.&lt;init&gt;(Report
>QueryRsIterator.java:43) at
> org.apache.ojb.broker.core.ReportRsIteratorFactoryImpl.createRsIterator(Rep
>ortRsIteratorFactoryImpl.java:59) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getRsIteratorFromQuery(Per
>sistenceBrokerImpl.java:1824) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getReportQueryIteratorFrom
>Query(PersistenceBrokerImpl.java:1871) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getReportQueryIteratorByQu
>ery(PersistenceBrokerImpl.java:1799) at
> org.apache.ojb.broker.core.PersistenceBrokerImpl.getCount(PersistenceBroker
>Impl.java:1770) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCount(DelegatingP
>ersistenceBroker.java:327) at
> org.apache.ojb.broker.core.DelegatingPersistenceBroker.getCount(DelegatingP
>ersistenceBroker.java:327) at
> org.apache.ojb.broker.metadata.MetadataTest.testLookupPB2(MetadataTest.java
>:299) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> 	at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:3
>9) at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImp
>l.java:25) at java.lang.reflect.Method.invoke(Method.java:324)
> 	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 junit.framework.TestSuite.runTest(TestSuite.java:208)
> 	at junit.framework.TestSuite.run(TestSuite.java:203)
> 	at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestR
>unner.java:326) at
> org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.main(JUnitTest
>Runner.java:560) Caused by:
> org.apache.ojb.broker.accesslayer.LookupException: Could not borrow
> connection from pool -
> org.apache.ojb.broker.metadata.JdbcConnectionDescriptor:
> org.apache.ojb.broker.metadata.JdbcConnectionDescriptor@f9e48[
>    jcd-alias=default
>    default-connection=false
>    dbms=PostgreSQL
>    jdbc-level=3.0
>    driver=org.postgresql.Driver
>    protocol=jdbc
>    sub-protocol=postgresql
>    db-alias=ojbtest
>    user=!!TestCase: This should fail!!
>    password=*****
>    eager-release=false
>    ConnectionPoolDescriptor={testOnReturn=false, maxWait=5000,
> timeBetweenEvictionRunsMillis=-1, testOnBorrow=true,
> numTestsPerEvictionRun=10, maxActive=21, removeAbandonedTimeout=300,
> removeAbandoned=false, maxIdle=-1, testWhileIdle=false,
> whenExhaustedAction=0, logAbandoned=false,
> minEvictableIdleTimeMillis=600000}
>    batchMode=false
>    useAutoCommit=AUTO_COMMIT_SET_TRUE_AND_TEMPORARY_FALSE
>    ignoreAutoCommitExceptions=false
>
> sequenceDescriptor=org.apache.ojb.broker.metadata.SequenceDescriptor@160bf5
>e[ sequenceManagerClass=class
> org.apache.ojb.broker.util.sequence.SequenceManagerHighLowImpl
>       Properties={grabSize=20, globalSequenceStart=10000,
> autoNaming=true, globalSequenceId=false}
> ]
> ]
> 	at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl.getConnection
>FromPool(ConnectionFactoryPooledImpl.java:85) at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.lookupConne
>ction(ConnectionFactoryAbstractImpl.java:116) at
> org.apache.ojb.broker.accesslayer.ConnectionManagerImpl.getConnection(Conne
>ctionManagerImpl.java:105) at
> org.apache.ojb.broker.accesslayer.StatementManager.getPreparedStatement(Sta
>tementManager.java:637) ... 28 more
> Caused by: org.apache.ojb.broker.accesslayer.LookupException: Error
> getting Connection from DriverManager with url (jdbc:postgresql:ojbtest)
> and driver (org.postgresql.Driver)
> 	at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnecti
>onFromDriverManager(ConnectionFactoryAbstractImpl.java:259) at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl$ConPoolFactor
>y.makeObject(ConnectionFactoryPooledImpl.java:231) at
> org.apache.commons.pool.impl.GenericObjectPool.borrowObject(GenericObjectPo
>ol.java:816) at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryPooledImpl.getConnection
>FromPool(ConnectionFactoryPooledImpl.java:81) ... 31 more
> Caused by: org.postgresql.util.PSQLException: Backend start-up failed:
> org.postgresql.util.PSQLException: FATAL: Benutzer &raquo;!!TestCase:
> This should fail!!&laquo; existiert nicht
>
> 	at
> org.postgresql.jdbc1.AbstractJdbc1Connection.openConnectionV3(AbstractJdbc1
>Connection.java:445) at
> org.postgresql.jdbc1.AbstractJdbc1Connection.openConnection(AbstractJdbc1Co
>nnection.java:213) at org.postgresql.Driver.connect(Driver.java:139)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:512)
> 	at java.sql.DriverManager.getConnection(DriverManager.java:171)
> 	at
> org.apache.ojb.broker.accesslayer.ConnectionFactoryAbstractImpl.newConnecti
>onFromDriverManager(ConnectionFactoryAbstractImpl.java:253) ... 34 more
> [WARN] OptionConverter - -Could not find value for key
> jcs.default.elementattributes
> [WARN] CompositeCacheConfigurator - -Could not instantiate eAttr named
> 'jcs.default.elementattributes', using defaults.
> [WARN] OptionConverter - -Could not find value for key
> jcs.system.groupIdCache.elementattributes
> [WARN] CompositeCacheConfigurator - -Could not instantiate eAttr named
> 'jcs.system.groupIdCache.elementattributes', using defaults.
> [WARN] OptionConverter - -Could not find value for key
> jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.cacheatt
>ributes [WARN] CompositeCacheConfigurator - -Could not instantiate ccAttr
> named
> 'jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.cacheat
>tributes', using defaults.
> [WARN] OptionConverter - -Could not find value for key
> jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.elementa
>ttributes [WARN] CompositeCacheConfigurator - -Could not instantiate eAttr
> named
> 'jcs.region.org.apache.ojb.broker.cache.ObjectCacheTest$CacheObject.element
>attributes', using defaults.
> [WARN] OptionConverter - -Could not find value for key
> jcs.region.ojbDefault.elementattributes
> [WARN] CompositeCacheConfigurator - -Could not instantiate eAttr named
> 'jcs.region.ojbDefault.elementattributes', using defaults.
>
> Tom
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
> For additional commands, e-mail: ojb-dev-help@db.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-dev-help@db.apache.org