Navigation Menu

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
  • Loading branch information
jaredfrees committed May 28, 2019
1 parent eb09c4f commit 527938b
Showing 1 changed file with 6 additions and 1 deletion.
Expand Up @@ -1520,7 +1520,12 @@ public List<String> execute(Connection connection) throws SQLException {
ResultSet rs = null;
try {

rs = meta.getSchemas();
try {
rs = meta.getSchemas();
} catch (SQLException e) {
rs = meta.getSchemas("", null);
}

while (rs.next()) {
int columnCount = rs.getMetaData().getColumnCount();
String schema = rs.getString(1);
Expand Down

0 comments on commit 527938b

Please sign in to comment.