Loading sharding-jdbc/src/test/java/io/shardingsphere/dbtest/engine/dcl/GeneralDCLIntegrateTest.java +14 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,20 @@ public final class GeneralDCLIntegrateTest extends BaseDCLIntegrateTest { return IntegrateTestParameters.getParametersWithAssertion(SQLType.DCL); } @Test public void assertExecuteUpdate() throws SQLException { if (!getDatabaseTypeEnvironment().isEnabled()) { return; } try (Connection connection = getDataSource().getConnection()) { if (SQLCaseType.Literal == getCaseType()) { connection.createStatement().executeUpdate(getSql()); } else { connection.prepareStatement(getSql()).executeUpdate(); } } } @Test public void assertExecute() throws SQLException { if (!getDatabaseTypeEnvironment().isEnabled()) { Loading Loading
sharding-jdbc/src/test/java/io/shardingsphere/dbtest/engine/dcl/GeneralDCLIntegrateTest.java +14 −0 Original line number Diff line number Diff line Loading @@ -44,6 +44,20 @@ public final class GeneralDCLIntegrateTest extends BaseDCLIntegrateTest { return IntegrateTestParameters.getParametersWithAssertion(SQLType.DCL); } @Test public void assertExecuteUpdate() throws SQLException { if (!getDatabaseTypeEnvironment().isEnabled()) { return; } try (Connection connection = getDataSource().getConnection()) { if (SQLCaseType.Literal == getCaseType()) { connection.createStatement().executeUpdate(getSql()); } else { connection.prepareStatement(getSql()).executeUpdate(); } } } @Test public void assertExecute() throws SQLException { if (!getDatabaseTypeEnvironment().isEnabled()) { Loading