Skip to content

Commit

Permalink
Fix UT compilation issue due to hsqldb driver update (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
hbenali authored Jul 10, 2024
1 parent cc9c153 commit a2beaa3
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,12 +68,12 @@ protected void tearDown() throws Exception

private void shutdownHsqldb()
{
for (Object uri : DatabaseManager.getDatabaseURIs())
for (String uri : DatabaseManager.getDatabaseURIs().getArray())
{
System.out.print("Shutdown\t" + uri.toString());
System.out.print("Shutdown\t" + uri);
try
{
Connection c = DriverManager.getConnection("jdbc:hsqldb:" + uri.toString(), "sa", "");
Connection c = DriverManager.getConnection("jdbc:hsqldb:" + uri, "sa", "");
c.createStatement().execute("SHUTDOWN");
System.out.println("\t\t\t[ok]");
}
Expand Down

0 comments on commit a2beaa3

Please sign in to comment.