1.45.2. Need to clean only single workspace

Simple cleaning records from JCR table is used in case of single-db configuration.

executeCleanScripts()removing all records from the database. Foreign key of JCR_SITEM table is also removed
executeCommitScripts()adding foreign key
executeRollbackScripts() 

executeCleanScripts()removing all records from the database. Foreign key of JCR_SITEM table is also removed
executeCommitScripts()adding foreign key
executeRollbackScripts()adding foreign key

Either removing or renaming JCR tables are used in case of mult-db configuration.

executeCleanScripts()removing tables JCR_MVALUE, JCR_MREF, JCR_MITEM, initializing new tables without foreign key of JCR_MITEM table, adding root
executeCommitScripts()adding foreign key
executeRollbackScripts() 

executeCleanScripts()renaming current tables, initializing new tables without foreign key of JCR_MITEM table, adding root node, removing indexes for some databases
executeCommitScripts()renaming tables, adding indexes
executeRollbackScripts()removing previously renamed tables, adding indexes, adding foreign key

Copyright ©2012. All rights reserved. eXo Platform SAS