/** * INTERNAL: * This method is used to set the active Batch Mechanism on the accessor. */ public void setActiveBatchWritingMechanismToDynamicSQL() { this.activeBatchWritingMechanism = getDynamicSQLMechanism(); // Bug#3214927-fix - Also the size must be switched back when switch back from param to dynamic. if (((DatabaseLogin)this.login).getMaxBatchWritingSize() == DatabasePlatform.DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE) { ((DatabaseLogin)this.login).setMaxBatchWritingSize(DatabasePlatform.DEFAULT_MAX_BATCH_WRITING_SIZE); } }
/** * INTERNAL: * This method is used to set the active Batch Mechanism on the accessor. */ public void setActiveBatchWritingMechanismToParameterizedSQL() { this.activeBatchWritingMechanism = getParameterizedMechanism(); //Bug#3214927 The size for ParameterizedBatchWriting represents the number of statements //and the max size is only 100. if (((DatabaseLogin)this.login).getMaxBatchWritingSize() == DatabasePlatform.DEFAULT_MAX_BATCH_WRITING_SIZE) { ((DatabaseLogin)this.login).setMaxBatchWritingSize(DatabasePlatform.DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE); } }
/** * INTERNAL: * This method is used to set the active Batch Mechanism on the accessor. */ public void setActiveBatchWritingMechanismToParameterizedSQL() { this.activeBatchWritingMechanism = getParameterizedMechanism(); //Bug#3214927 The size for ParameterizedBatchWriting represents the number of statements //and the max size is only 100. if (((DatabaseLogin)this.login).getMaxBatchWritingSize() == DatabasePlatform.DEFAULT_MAX_BATCH_WRITING_SIZE) { ((DatabaseLogin)this.login).setMaxBatchWritingSize(DatabasePlatform.DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE); } }
/** * INTERNAL: * This method is used to set the active Batch Mechanism on the accessor. */ public void setActiveBatchWritingMechanismToDynamicSQL() { this.activeBatchWritingMechanism = getDynamicSQLMechanism(); // Bug#3214927-fix - Also the size must be switched back when switch back from param to dynamic. if (((DatabaseLogin)this.login).getMaxBatchWritingSize() == DatabasePlatform.DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE) { ((DatabaseLogin)this.login).setMaxBatchWritingSize(DatabasePlatform.DEFAULT_MAX_BATCH_WRITING_SIZE); } }
/** * INTERNAL: * This method is used to set the active Batch Mechanism on the accessor */ public void setActiveBatchWritingMechanismToParameterizedSQL() { this.activeBatchWritingMechanism = getParameterizedMechanism(); //Bug#3214927 The size for ParameterizedBatchWriting represents the number of statements //and the max size is only 100. if (((DatabaseLogin)this.login).getMaxBatchWritingSize() == DatabasePlatform.DEFAULT_MAX_BATCH_WRITING_SIZE) { ((DatabaseLogin)this.login).setMaxBatchWritingSize(DatabasePlatform.DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE); } }
/** * INTERNAL: * This method is used to set the active Batch Mechanism on the accessor */ public void setActiveBatchWritingMechanismToDynamicSQL() { this.activeBatchWritingMechanism = getDynamicSQLMechanism(); // Bug#3214927-fix - Also the size must be switched back when switch back from param to dynamic. if (((DatabaseLogin)this.login).getMaxBatchWritingSize() == DatabasePlatform.DEFAULT_PARAMETERIZED_MAX_BATCH_WRITING_SIZE) { ((DatabaseLogin)this.login).setMaxBatchWritingSize(DatabasePlatform.DEFAULT_MAX_BATCH_WRITING_SIZE); } }