Skip to content

Commit

Permalink
Fix failing Oracle test (statement should not end with semicolon)
Browse files Browse the repository at this point in the history
  • Loading branch information
filiphr committed Jul 16, 2024
1 parent 15f01a0 commit 53130d5
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ public void testRollbackTransactionOnFlowableException() {
// Create a table that the userBean is supposed to fill with some data
JdbcTemplate jdbcTemplate = new JdbcTemplate(dataSource);
if (processEngineConfiguration.getDatabaseType().equals(AbstractEngineConfiguration.DATABASE_TYPE_ORACLE)) {
jdbcTemplate.execute("create table MY_TABLE (MY_TEXT INTEGER);");
jdbcTemplate.execute("create table MY_TABLE (MY_TEXT INTEGER)");
} else {
jdbcTemplate.execute("create table MY_TABLE (MY_COLUMN int);");
}
Expand All @@ -83,7 +83,7 @@ public void testRollbackTransactionOnFlowableException() {
assertThat(jdbcTemplate.queryForObject("select count(*) from MY_TABLE", Long.class)).isZero();

// Cleanup
jdbcTemplate.execute("drop table MY_TABLE;");
jdbcTemplate.execute("drop table MY_TABLE");
}

@Test
Expand Down

0 comments on commit 53130d5

Please sign in to comment.