Missed a spot.

Things worked without this because the DepotMarshaller ends up
checking for the existence of the table using its own code...
(TODO?)

Also JDBCUtil checks the DatabaseMetaData too but the liaison
isn't passed to that, would require some refactoring...

Actually it seems there are mountains of dead code in JDBCUtil and
they could all be removed...
This commit is contained in:
Ray J. Greenwell
2015-02-23 14:30:53 -08:00
parent b03ffa72b7
commit eb6724ed8b
@@ -71,7 +71,7 @@ public abstract class BaseLiaison implements DatabaseLiaison
// from DatabaseLiaison
public boolean tableExists (Connection conn, String name) throws SQLException
{
ResultSet rs = conn.getMetaData().getTables(null, null, name, null);
ResultSet rs = conn.getMetaData().getTables(null, getSchemaName(), name, null);
while (rs.next()) {
String tname = rs.getString("TABLE_NAME");
if (name.equals(tname)) {