cherrylzhao commented on issue #2362: {dataSource-1} inited takes a long time
when use ORA12c
URL:
https://github.com/apache/incubator-shardingsphere/issues/2362#issuecomment-493856436
so I saw some tables don't contains "$", I think this is the reason. logic
of loading metadata is here
```
try (Connection connection = connectionManager.getConnection(dataSourceName);
ResultSet resultSet =
connection.getMetaData().getTables(catalog, getCurrentSchemaName(connection),
null, new String[]{"TABLE"})) {
while (resultSet.next()) {
String tableName = resultSet.getString("TABLE_NAME");
if (!tableName.contains("$") && !tableName.contains("/")) {
result.add(tableName);
}
}
}
```
you can write a JDBC test program like above to verify it.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services