Upgrade overhaul: Retiring ancient patches and fixing de-Hibernate problems

- Moved setting of txn isolation level to ControlDAO
 - Retired patches where target schema is < 100
  - Removed unreferenced patch implementations
  - Removed unreferenced DB scripts
 - Moved patch-specific queries (ACL upgrade counts) into patch-common-SqlMap.xml
 - Fixed count query result processing (max of nothing is NULL) leading to unboxing NPEs
 - All DM-modifying patches depend on DmPermissionsPatch i.e. it will normally run immediately after SQL scripts


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@21908 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2010-08-20 14:45:18 +00:00
parent bda714b422
commit a22fdceccd
45 changed files with 654 additions and 4468 deletions

View File

@@ -96,4 +96,16 @@ public interface ControlDAO
* @see #createSavepoint(String)
*/
public void releaseSavepoint(Savepoint savepoint);
/**
* Change the current transaction isolation level.
* <p/>
* <b>Note:</b> The isolation level should not - and for some DBs, cannot - be changed
* except at the very start of the transaction
*
* @param isolationLevel the transaction isolation level
* @return Returns the previously-set isolation
* @throws IllegalStateException if the isolation level is invalid or cannot be changed
*/
public int setTransactionIsolationLevel(int isolationLevel);
}