public AbstractJdbc2Statement(AbstractJdbc2Connection connection, String sql, boolean isCallable, int rsType, int rsConcurrency) throws SQLException { this.connection = connection; this.lastSimpleQuery = null; String parsed_sql = replaceProcessing(sql); if (isCallable) parsed_sql = modifyJdbcCall(parsed_sql); this.preparedQuery = connection.getQueryExecutor().createParameterizedQuery(parsed_sql); this.preparedParameters = preparedQuery.createParameterList(); int inParamCount = preparedParameters.getInParameterCount() + 1; this.testReturn = new int[inParamCount]; this.functionReturnType = new int[inParamCount]; resultsettype = rsType; concurrency = rsConcurrency; }
public AbstractJdbc2Statement(AbstractJdbc2Connection connection, String sql, boolean isCallable, int rsType, int rsConcurrency) throws SQLException { this.connection = connection; this.lastSimpleQuery = null; String parsed_sql = replaceProcessing(sql); if (isCallable) parsed_sql = modifyJdbcCall(parsed_sql); this.preparedQuery = connection.getQueryExecutor().createParameterizedQuery(parsed_sql); this.preparedParameters = preparedQuery.createParameterList(); int inParamCount = preparedParameters.getInParameterCount() + 1; this.testReturn = new int[inParamCount]; this.functionReturnType = new int[inParamCount]; resultsettype = rsType; concurrency = rsConcurrency; }
public AbstractJdbc2Statement(AbstractJdbc2Connection connection, String sql, boolean isCallable, int rsType, int rsConcurrency) throws SQLException { this.connection = connection; this.lastSimpleQuery = null; String parsed_sql = replaceProcessing(sql); if (isCallable) parsed_sql = modifyJdbcCall(parsed_sql); this.preparedQuery = connection.getQueryExecutor().createParameterizedQuery(parsed_sql); this.preparedParameters = preparedQuery.createParameterList(); int inParamCount = preparedParameters.getInParameterCount() + 1; this.testReturn = new int[inParamCount]; this.functionReturnType = new int[inParamCount]; resultsettype = rsType; concurrency = rsConcurrency; }