mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
ETHREEOH-2115: Exclude tables in recyclebin from schema dump on Oracle
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@14425 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -224,6 +224,13 @@ public class Main
|
||||
while (tables.next())
|
||||
{
|
||||
final String tableName = tables.getString("TABLE_NAME");
|
||||
|
||||
// Oracle hack: ignore tables in the recycle bin
|
||||
if (tableName.startsWith("BIN$"))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
|
||||
final NamedElement tableEl = schemaCol.addNamedElement(tableName);
|
||||
final NamedElementCollection columnsCol = tableEl.addCollection("columns", "column");
|
||||
final ResultSet columns = dbmd.getColumns(null, tables.getString("TABLE_SCHEM"), tableName, "%");
|
||||
|
Reference in New Issue
Block a user