/** * Creates and returns a {@link JdbcStatement} at a state which has not yet been executed based on the given request. * <p/> * The status will be set to {@link JdbcStatementStatus#SKIPPED} and result null. * * @param requestJdbcStatement the requested JDBC statement * * @return a new {@link JdbcStatement} */ private JdbcStatement createDefaultResponseJdbcStatement(JdbcStatement requestJdbcStatement) { JdbcStatement responseJdbcStatement = new JdbcStatement(); responseJdbcStatement.setType(requestJdbcStatement.getType()); responseJdbcStatement.setSql(requestJdbcStatement.getSql()); responseJdbcStatement.setContinueOnError(requestJdbcStatement.isContinueOnError()); responseJdbcStatement.setStatus(JdbcStatementStatus.SKIPPED); return responseJdbcStatement; }
/** * Creates and returns a {@link JdbcStatement} at a state which has not yet been executed based on the given request. * <p/> * The status will be set to {@link JdbcStatementStatus#SKIPPED} and result null. * * @param requestJdbcStatement the requested JDBC statement * * @return a new {@link JdbcStatement} */ private JdbcStatement createDefaultResponseJdbcStatement(JdbcStatement requestJdbcStatement) { JdbcStatement responseJdbcStatement = new JdbcStatement(); responseJdbcStatement.setType(requestJdbcStatement.getType()); responseJdbcStatement.setSql(requestJdbcStatement.getSql()); responseJdbcStatement.setContinueOnError(requestJdbcStatement.isContinueOnError()); responseJdbcStatement.setStatus(JdbcStatementStatus.SKIPPED); return responseJdbcStatement; }
sourceContinueOnError = this.isContinueOnError(); Boolean copyContinueOnError = ((Boolean) strategy.copy(LocatorUtils.property(locator, "continueOnError", sourceContinueOnError), sourceContinueOnError, (this.continueOnError!= null))); copy.setContinueOnError(copyContinueOnError); } else { if (continueOnErrorShouldBeCopiedAndSet == Boolean.FALSE) {
sourceContinueOnError = this.isContinueOnError(); Boolean copyContinueOnError = ((Boolean) strategy.copy(LocatorUtils.property(locator, "continueOnError", sourceContinueOnError), sourceContinueOnError, (this.continueOnError!= null))); copy.setContinueOnError(copyContinueOnError); } else { if (continueOnErrorShouldBeCopiedAndSet == Boolean.FALSE) {
sourceContinueOnError = this.isContinueOnError(); Boolean copyContinueOnError = ((Boolean) strategy.copy(LocatorUtils.property(locator, "continueOnError", sourceContinueOnError), sourceContinueOnError, (this.continueOnError!= null))); copy.setContinueOnError(copyContinueOnError); } else { if (continueOnErrorShouldBeCopiedAndSet == Boolean.FALSE) {