Skip to content

Commit

Permalink
Fixed 4.0 compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
nvoxland committed Jul 2, 2020
1 parent b885b65 commit fe8e54a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public String getViewDefinition(CatalogAndSchema schema, String name) throws Dat
@Override
protected String getConnectionCatalogName() throws DatabaseException {
try {
return ExecutorService.getInstance().getExecutor(this).queryForObject(new RawSqlStatement("select current schema from sysibm.sysdummy1"), String.class);
return Scope.getCurrentScope().getSingleton(ExecutorService.class).getExecutor("jdbc", this).queryForObject(new RawSqlStatement("select current schema from sysibm.sysdummy1"), String.class);
} catch (Exception e) {
Scope.getCurrentScope().getLog(getClass()).info("Error getting default schema", e);
}
Expand Down

0 comments on commit fe8e54a

Please sign in to comment.