[#1145] Add runtime configuration to specify whether a java.sql.PreparedStatement (with bind variables) or a java.sql.Statement (with inlined parameters) should be executed - Fixed integration tests
This commit is contained in:
parent
cea11f1feb
commit
b2f027a2dc
@ -41,6 +41,7 @@ import static junit.framework.Assert.assertNotNull;
|
||||
import static junit.framework.Assert.assertNull;
|
||||
import static junit.framework.Assert.assertTrue;
|
||||
import static junit.framework.Assert.fail;
|
||||
import static org.jooq.conf.SettingsTools.executePreparedStatements;
|
||||
import static org.jooq.impl.Factory.param;
|
||||
import static org.jooq.impl.Factory.val;
|
||||
|
||||
@ -411,6 +412,11 @@ extends BaseTest<A, B, S, B2S, BS, L, X, DATE, D, T, U, I, IPK, T658, T725, T639
|
||||
|
||||
@Test
|
||||
public void testExecuteListenerOnBatchSingle() {
|
||||
if (!executePreparedStatements(create().getSettings())) {
|
||||
log.info("SKIPPINT", "Single batch tests with statement type = STATEMENT");
|
||||
return;
|
||||
}
|
||||
|
||||
jOOQAbstractTest.reset = false;
|
||||
|
||||
Factory create = create(new Settings()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user