[
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5049?page=c...
]
Strong Liu resolved HHH-5049.
-----------------------------
Assignee: Strong Liu
Resolution: Fixed
Fix Version/s: 3.5.0.Next
similar patch applied
org.hibernate.test.legacy.ParentChildTest error running
testLoadAfterNonExists with Ingres
------------------------------------------------------------------------------------------
Key: HHH-5049
URL:
http://opensource.atlassian.com/projects/hibernate/browse/HHH-5049
Project: Hibernate Core
Issue Type: Patch
Components: core, testsuite
Affects Versions: 3.5.0-CR-2
Environment: Hibernate 3.5.0-CR-2, Ingres 9.3.1 (int.lnx/106), Ingres9Dialect
Reporter: Ray Fan
Assignee: Strong Liu
Priority: Minor
Fix For: 3.5.0.Next
Attachments: ParentChildTest.svn.diff
Error running testLoadAfterNonExists, caused by a lock time out error.
{noformat}
<error message="could not insert: [org.hibernate.test.legacy.Simple]"
type="org.hibernate.exception.GenericJDBCException">
org.hibernate.exception.GenericJDBCException: could not insert:
[org.hibernate.test.legacy.Simple]
at
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:128)
at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2438)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2844)
at org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:79)
at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:268)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:260)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:179)
at
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:321)
at
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:51)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1206)
at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:375)
at org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:137)
at
org.hibernate.test.legacy.ParentChildTest.testLoadAfterNonExists(ParentChildTest.java:1061)
Caused by: com.ingres.gcf.util.SqlEx: Timeout occurred on lock request (see SET LOCKMODE
command).
at com.ingres.gcf.jdbc.DrvObj.readError(Unknown Source)
at com.ingres.gcf.jdbc.JdbcStmt.readError(Unknown Source)
at com.ingres.gcf.jdbc.DrvObj.readResults(Unknown Source)
at com.ingres.gcf.jdbc.JdbcStmt.readResults(Unknown Source)
at com.ingres.gcf.jdbc.JdbcStmt.readResults(Unknown Source)
at com.ingres.gcf.jdbc.JdbcPrep.exec(Unknown Source)
at com.ingres.gcf.jdbc.JdbcPrep.executeUpdate(Unknown Source)
at org.hibernate.jdbc.NonBatchingBatcher.addToBatch(NonBatchingBatcher.java:46)
at
org.hibernate.persister.entity.AbstractEntityPersister.insert(AbstractEntityPersister.java:2418)
... 41 more
</error>
{noformat}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://opensource.atlassian.com/projects/hibernate/secure/Administrators....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira