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

@@ -39,18 +39,27 @@ public abstract class AbstractControlDAOImpl implements ControlDAO
/**
* @return Returns <tt>null</tt> by default i.e. not supported
*/
@Override
public Savepoint createSavepoint(String savepoint)
{
return null;
}
/** No-op */
@Override
public void rollbackToSavepoint(Savepoint savepoint)
{
}
/** No-op */
@Override
public void releaseSavepoint(Savepoint savepoint)
{
}
@Override
public int setTransactionIsolationLevel(int isolationLevel)
{
throw new UnsupportedOperationException("Method not implemented by the DAO");
}
}