diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle10gDialect.java b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle10gDialect.java index c6ae0717ab..06e440b8df 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/Oracle10gDialect.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/Oracle10gDialect.java @@ -6,6 +6,10 @@ */ package org.hibernate.dialect; +import java.sql.CallableStatement; +import java.sql.ResultSet; +import java.sql.SQLException; + import org.hibernate.LockOptions; import org.hibernate.sql.ANSIJoinFragment; import org.hibernate.sql.JoinFragment; @@ -55,4 +59,9 @@ public class Oracle10gDialect extends Oracle9iDialect { public String getForUpdateSkipLockedString(String aliases) { return getForUpdateString() + " of " + aliases + " skip locked"; } + + @Override + public ResultSet getResultSet(CallableStatement statement, int position) throws SQLException { + return (ResultSet) statement.getObject( position ); + } }