int scale) throws SQLException, Exception {
// Oracle doesn't support BOOLEAN even when binding NULL, so have to intercept
// NULL Boolean here, as super doesn't pass it through ExtendedType...
if (object == null && sqlType == Types.BOOLEAN) {
ExtendedType typeProcessor = getExtendedTypes().getRegisteredType(
Boolean.class);
typeProcessor.setJdbcObject(statement, object, pos, sqlType, scale);
}
else {
super.bindParameter(statement, object, pos, sqlType, scale);
}
}