HHH-9286 - Oracle10gDialect override Dialect#Oracle10gDialect#getResultSet(CallableStatement statement, int position)

This commit is contained in:
Andrea Boriero 2016-01-19 15:16:05 +00:00
parent 6dc42a66e9
commit 8a6df47eb9
1 changed files with 9 additions and 0 deletions

View File

@ -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 );
}
}