liquibase-core/src/main/java/liquibase/executor/jvm/StatementCreatorUtils.java
public static void setParameterValue(
            PreparedStatement ps, int paramIndex, int sqlType, Object inValue)
            throws SQLException {

        setParameterValueInternal(ps, paramIndex, sqlType, null, null, inValue);
    }
public static void setParameterValue(
            PreparedStatement ps, int paramIndex, int sqlType, Object inValue)
            throws SQLException {

        setParameterValueInternal(ps, paramIndex, sqlType, null, null, inValue);
    }
Set the value for a parameter. The method used is based on the SQL type
of the parameter and we can handle complex types like arrays and LOBs.

@param ps         the prepared statement or callable statement
@param paramIndex index of the parameter we are setting
@param sqlType    the SQL type of the parameter
@param inValue    the value to set (plain value or a SqlTypeValue)
@throws SQLException if thrown by PreparedStatement methods