jodd-db/src/main/java/jodd/db/DbQuery.java
public Q setObject(final int index, final Object object, final int targetSqlType) {
		initPrepared();
		try {
			preparedStatement.setObject(index, object, targetSqlType);
		} catch (SQLException sex) {
			throwSetParamError(index, sex);
		}
		return _this();
	}
public Q setObject(final int index, final Object object, final int targetSqlType) {
		initPrepared();
		try {
			preparedStatement.setObject(index, object, targetSqlType);
		} catch (SQLException sex) {
			throwSetParamError(index, sex);
		}
		return _this();
	}
Sets the value of the designated parameter with the given object.
This method is like the method <code>setObject</code>
above, except that it assumes a scale of zero.