throws SQLException, Exception {
if (object == null) {
statement.setNull(pos, sqlType);
} else {
ExtendedType typeProcessor = getExtendedTypes().getRegisteredType(object.getClass());
typeProcessor.setJdbcObject(statement, object, pos, sqlType, scale);
}
}