Issue Type: Bug Bug
Affects Versions: 4.1.9, 3.6.10
Assignee: Unassigned
Attachments: mishail-hibernate_bug-358d3a280ded.tar.gz
Components: core
Created: 20/Dec/12 3:51 PM
Description:

We have a problem with Hibernate 3.6.x and onward.
Attached the project using Hibernate 4.1.9.

Execute mvn test and see in the logs:

2012-12-20 12:31:55,990 [main] DEBUG [Loader] - Result set row: 0
2012-12-20 12:31:55,990 [main] TRACE [AbstractResultSetProxyHandler] - Handling invocation of ResultSet method [getLong]
2012-12-20 12:31:55,991 [main] TRACE [AbstractResultSetProxyHandler] - Handling invocation of ResultSet method [wasNull]
2012-12-20 12:31:55,991 [main] TRACE [BasicExtractor] - Found [null] as column [id1_0_]
2012-12-20 12:31:55,991 [main] TRACE [AbstractResultSetProxyHandler] - Handling invocation of ResultSet method [getLong]
2012-12-20 12:31:55,991 [main] TRACE [AbstractResultSetProxyHandler] - Handling invocation of ResultSet method [wasNull]
2012-12-20 12:31:55,991 [main] TRACE [BasicExtractor] - Found [null] as column [storage2_2_1_]
2012-12-20 12:31:55,993 [main] ERROR [AssertionFailure] - HHH000099: an assertion failure occured (this may indicate a bug in Hibernate, but is more likely due to unsafe use of the session): org.hibernate.AssertionFailure: null identifier
2012-12-20 12:31:55,993 [main] TRACE [AbstractStatementProxyHandler] - Handling invocation of statement method [close]
Environment: Issue happens staring from Hibernate 3.6.x.
Works fine with Hibernate 3.5.6
Project: Hibernate ORM
Priority: Major Major
Reporter: Mikhail Stepura
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira