Don't narrow search by catalog or schema.
Apparently null is different from "" and that started to matter some time in the last twenty five years.
This commit is contained in:
@@ -315,7 +315,7 @@ public class JDBCUtil
|
||||
throws SQLException
|
||||
{
|
||||
boolean matched = false;
|
||||
ResultSet rs = conn.getMetaData().getTables("", "", name, null);
|
||||
ResultSet rs = conn.getMetaData().getTables(null, null, name, null);
|
||||
while (rs.next()) {
|
||||
String tname = rs.getString("TABLE_NAME");
|
||||
if (name.equals(tname)) {
|
||||
|
||||
Reference in New Issue
Block a user