Schemacomp - More logging to help diagnose broken test.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@34104 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Matt Ward
2012-02-21 10:47:07 +00:00
parent 9c27f0f682
commit 594d581f71

View File

@@ -205,8 +205,14 @@ public class ExportDb
String schemaName = getSchemaName(dbmd);
schema = new Schema(schemaName, namePrefix, schemaVersion);
String prefixFilter = namePrefixFilter(dbmd);
final ResultSet tables = dbmd.getTables(null, schemaName, namePrefixFilter(dbmd), new String[]
if (log.isDebugEnabled())
{
log.debug("Retrieving tables: schemaName=[" + schemaName + "], prefixFilter=[" + prefixFilter + "]");
}
final ResultSet tables = dbmd.getTables(null, schemaName, prefixFilter, new String[]
{
"TABLE", "VIEW", "SEQUENCE"
});
@@ -216,6 +222,11 @@ public class ExportDb
{
final String tableName = tables.getString("TABLE_NAME");
if (log.isDebugEnabled())
{
log.debug("Examining table tableName=[" + tableName + "]");
}
// Oracle hack: ignore tables in the recycle bin
if (tableName.startsWith("BIN$"))
{