Commit Graph

13 Commits

Author SHA1 Message Date
Derek Hulley
a22fdceccd 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
2010-08-20 14:45:18 +00:00
Derek Hulley
0caec0a33c Follow-up on merge of ALF-3683 and replace all "'UNKNOWN', 1, 1" with "'UNKNOWN', ${TRUE}, ${TRUE}"
- Also fix typo "UNKOWN"


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@20827 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2010-06-25 20:55:21 +00:00
Derek Hulley
05fbb7836f Removed redundant scripts after adding ${TRUE} and ${FALSE} variable substitution
- Most PostgreSQL scripts differed only by boolean values
 - Removed reference to non-existent dialect, org.hibernate.dialect.AlfrescoSQLServerDialect
 - Some minor patch cleanup to aid file diffs


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@17095 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-10-22 15:56:46 +00:00
Derek Hulley
36a62cab43 Merged V3.0 to HEAD
12827: Merged V2.2 to V3.0
      12822: Fixed ALFCOM-2372: Upgrade from 2.1C fails

   Modified: svn:mergeinfo
      Merged /alfresco/BRANCHES/V3.0:r12827
      Merged /alfresco/BRANCHES/V2.2:r12822


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@12829 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2009-01-16 14:27:41 +00:00
Derek Hulley
d389ff1936 Merged V2.2 to HEAD
7629: QName Refactor Merge 6 of 9
   7630: QName Refactor Merge 7 of 9
   7631: QName Refactor Merge 8 of 9
   7632: QName Refactor Merge 9 of 9


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@8438 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-03-06 19:11:36 +00:00
Derek Hulley
7a522e4b88 Merged V2.1 to HEAD
6467, 6468: Patch to remove submitted aspect data
         Resolved conflicted state of 'root\projects\repository\config\alfresco\version.properties'
         Resolved conflicted state of 'root\projects\repository\config\alfresco\patch\patch-services-context.xml'
         Version number to 104


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6738 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-09-10 23:04:39 +00:00
Derek Hulley
97654618ad Fix for AR-1432: Patches for FK indexes
Fix for AR-1433: Upgrade failures on PostgreSQL
Partial fix for AR-160: Concurrency fix for version counter
Partial fix for AR-1483: Synchronization issues

This is an overhaul of the current state of the upgrade scripts.  All redundant scripts have been ripped out and replaced
with fresh 2.1 scripts.  Indexes for FK relationships have been put in place where required.  Several edge cases have been
dealt with including columns being added to two indexes, Sybase not allowing column additions for NOT NULL columns of
certain types, etc.

These changes have been tested for 1.4.0 -> 2.0 -> 2.1 on
MySQL
Oracle
Sybase
PostgreSQL

Found a bug in the VersionCounter Hibernate classes where the optimistic version support was not implemented.



git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6216 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-11 23:38:59 +00:00
Derek Hulley
6017658ff6 JBPM data patch had typo.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6176 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-05 13:26:02 +00:00
David Caruana
8eeba59f55 Fix to fix for JBPM unique constraint issue. SQL should work against all DBs now.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6165 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 15:43:25 +00:00
David Caruana
8e5e8ec126 AR-1560 Fix case of JBPM table names in upgrade script
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6161 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 13:06:07 +00:00
David Caruana
01098ee76e AR-1551 Oracle Constraint violation error submitting workflow in WCM
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6156 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-07-04 11:25:02 +00:00
Derek Hulley
819c7084a2 Added 'version' column to ADM entities
- A patch will assign initial version values to the entities
 - Deprecated TransactionUtil in favour of the RetryingTransactionHelper
 - Renamed RetryingTransactionHelper.Callback to RetryingTransactionHelper.RetryingTransactionCallback
   The name Callback clashes with many other classes in the classpath
 - Moved loads of components to be included in the retry behaviour
Duplicate name checks
 - This is done using a query, but the entity update is not written to the database early
 - Concurrent adds of the same-named child node will only fail at the end of the transaction
 - TODO: Detect the duplicate violation during transaction retrying
Workaround for ADMLuceneTest
 - Disable session size resource management during tests


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5823 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-06-01 12:40:17 +00:00
David Caruana
9878ca5b2a - jBPM 3.1.2 to 3.2 upgrade
- Implementation of Workflow Timers (primarily for WCM content launch, but also useful in other scenarios)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5577 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2007-04-30 17:20:26 +00:00