mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
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:
@@ -205,8 +205,14 @@ public class ExportDb
|
|||||||
String schemaName = getSchemaName(dbmd);
|
String schemaName = getSchemaName(dbmd);
|
||||||
|
|
||||||
schema = new Schema(schemaName, namePrefix, schemaVersion);
|
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"
|
"TABLE", "VIEW", "SEQUENCE"
|
||||||
});
|
});
|
||||||
@@ -216,6 +222,11 @@ public class ExportDb
|
|||||||
{
|
{
|
||||||
final String tableName = tables.getString("TABLE_NAME");
|
final String tableName = tables.getString("TABLE_NAME");
|
||||||
|
|
||||||
|
if (log.isDebugEnabled())
|
||||||
|
{
|
||||||
|
log.debug("Examining table tableName=[" + tableName + "]");
|
||||||
|
}
|
||||||
|
|
||||||
// Oracle hack: ignore tables in the recycle bin
|
// Oracle hack: ignore tables in the recycle bin
|
||||||
if (tableName.startsWith("BIN$"))
|
if (tableName.startsWith("BIN$"))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user