Issue Type: Bug Bug
Affects Versions: 3.3.2
Assignee: Brett Meyer
Created: 11/Jun/13 8:29 AM
Description:

Error message:

Bad conversion [ERROR: current transaction is aborted, commands ignored until end of transaction block] expected:<class org.hibernate.exception.ConstraintViolationException> but was:<class org.hibernate.exception.GenericJDBCException>

Stacktrace:

junit.framework.AssertionFailedError: Bad conversion [ERROR: current transaction is aborted, commands ignored until end of transaction block] expected:<class org.hibernate.exception.ConstraintViolationException> but was:<class org.hibernate.exception.GenericJDBCException>
	at org.hibernate.test.exception.SQLExceptionConversionTest.testIntegrityViolation(SQLExceptionConversionTest.java:65)
	at org.hibernate.junit.functional.FunctionalTestCase.runTest(FunctionalTestCase.java:124)
	at org.hibernate.junit.UnitTestCase.runBare(UnitTestCase.java:64)
	at org.hibernate.junit.functional.FunctionalTestClassTestSuite.runTest(FunctionalTestClassTestSuite.java:115)
	at org.hibernate.junit.functional.FunctionalTestClassTestSuite.run(FunctionalTestClassTestSuite.java:84)

https://jenkins.mw.lab.eng.bos.redhat.com/hudson/job/eap5-hibernate-core-test-matrix-hpux/BITS=-d64,database=postgresql91,jdbc=jdbc4,jdk=jdk17_hpux,label=hpux11v3/lastCompletedBuild/testReport/org.hibernate.test.exception/SQLExceptionConversionTest/testIntegrityViolation/

it doesn't happen with jdk16

Environment: HP-UX

jdk17_hpux

java version "1.7.0.03"
Java(TM) SE Runtime Environment (build 1.7.0.03-jinteg_2012_10_05_02_40-b00)
Java HotSpot(TM) Server VM (build 23.2-b09-jre1.7.0.03-rc1, mixed mode)

postgresql83, postgresql84, postgresql91
Project: Hibernate ORM
Priority: Major Major
Reporter: Martin Šimka
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