-
Bug
-
Resolution: Done
-
Major
-
EAP 6.0.0 ER 7
-
None
-
Not Required
-
NEW
Failing tests
org.hibernate.test.criteria.LongInElementsTest.testLongInElementsByHQL
org.hibernate.test.criteria.LongInElementsTest.testLongInElementsByCriteria
Stacktrace:
org.hibernate.exception.GenericJDBCException: Message empty.
at org.hibernate.exception.internal.StandardSQLExceptionConverter.convert(StandardSQLExceptionConverter.java:54)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:125)
at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:110)
.......................................................................................................................................
........................................................................................................................................
Caused by: java.sql.SQLException: Message empty.
at com.sybase.jdbc4.jdbc.SybConnection.getAllExceptions(Unknown Source)
at com.sybase.jdbc4.jdbc.SybStatement.handleSQLE(Unknown Source)
I think the select query generated by this test on sybase 15.7 is invalid and returns arbit sqlcode(empty message) leading to GenericJDBCException
Query:
select this_.id as id1423_0_, this_.name as name1423_0_, this_.isoCode as isoCode1423_0_ from StateProvince this_ where this_.id in (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, .........................................................................................................)