Issue Type: Bug Bug
Affects Versions: 4.1.5.SP1
Assignee: Unassigned
Created: 03/Aug/12 4:28 AM
Description:

java.lang.ClassCastException: oracle.jdbc.driver.T4CStatement cannot be cast to java.sql.PreparedStatement
at org.hibernate.loader.Loader.doQuery(Loader.java:832)
at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:292)
at org.hibernate.loader.Loader.doList(Loader.java:2381)
at org.hibernate.loader.Loader.doList(Loader.java:2367)
at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2197)
at org.hibernate.loader.Loader.list(Loader.java:2192)
at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:331)
at org.hibernate.internal.SessionImpl.listCustomQuery(SessionImpl.java:1784)
at org.hibernate.internal.AbstractSessionImpl.list(AbstractSessionImpl.java:229)
at org.hibernate.internal.SQLQueryImpl.list(SQLQueryImpl.java:156)
at org.hibernate.test.sql.hand.custom.CustomStoredProcTestSupport.testScalarStoredProcedure(CustomStoredProcTestSupport.java:55)

Fix Versions: 4.1.6
Project: Hibernate ORM
Priority: Major Major
Reporter: Strong Liu
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