/** * Create a new factory with the given SQL and JDBC types. * @param sql the SQL statement to execute * @param types int array of JDBC types */ public PreparedStatementCreatorFactory(String sql, int... types) { this.sql = sql; this.declaredParameters = SqlParameter.sqlTypesToAnonymousParameterList(types); }
/** * Create a new factory with the given SQL and JDBC types. * @param sql the SQL statement to execute * @param types int array of JDBC types */ public PreparedStatementCreatorFactory(String sql, int... types) { this.sql = sql; this.declaredParameters = SqlParameter.sqlTypesToAnonymousParameterList(types); }
/** * Create a new factory with the given SQL and JDBC types. * @param sql SQL to execute * @param types int array of JDBC types */ public PreparedStatementCreatorFactory(String sql, int[] types) { this.sql = sql; this.declaredParameters = SqlParameter.sqlTypesToAnonymousParameterList(types); }