Skip to content

Commit

Permalink
0003978: SQLAnywhere will not create engine when database name contains
Browse files Browse the repository at this point in the history
hyphen

Same error on metaData.getSchema() method, but different spot.
  • Loading branch information
jaredfrees committed May 28, 2019
1 parent 527938b commit 9e5a266
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -81,7 +81,12 @@ public void selectedTabChange(SelectedTabChangeEvent event) {
}

try {
Table schemas = CommonUiUtils.putResultsInTable(metaData.getSchemas(), Integer.MAX_VALUE, false);
Table schemas;
try {
schemas = CommonUiUtils.putResultsInTable(metaData.getSchemas(), Integer.MAX_VALUE, false);
} catch (SQLException e) {
schemas = CommonUiUtils.putResultsInTable(metaData.getSchemas("", null), Integer.MAX_VALUE, false);
}
schemas.setSizeFull();
tabSheet.addTab(createTabData(schemas), "Schemas");
} catch (AbstractMethodError e) {
Expand Down

0 comments on commit 9e5a266

Please sign in to comment.