From 7956a08df822174c18a36a6869909b0686a3bb1a Mon Sep 17 00:00:00 2001 From: Derek Hulley Date: Wed, 13 Jun 2007 19:55:22 +0000 Subject: [PATCH] Fix for AR-1430: Table name too long for Oracle - Shortened table name - A new table will be created, so reintroduced the patch under a new ID and target version 56 git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5942 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../messages/patch-service.properties | 6 ++--- .../alfresco/patch/patch-services-context.xml | 24 +++++++++---------- config/alfresco/version.properties | 2 +- .../patch/impl/AVMLayeredSnapshotPatch.java | 2 +- .../alfresco/repo/avm/hibernate/AVM.hbm.xml | 2 +- 5 files changed, 18 insertions(+), 18 deletions(-) diff --git a/config/alfresco/messages/patch-service.properties b/config/alfresco/messages/patch-service.properties index dd6d909591..ed48519c09 100644 --- a/config/alfresco/messages/patch-service.properties +++ b/config/alfresco/messages/patch-service.properties @@ -145,9 +145,9 @@ patch.invalidUserPersonAndGroup.result=Fixed ''{0}'' invalid user nodes, ''{1}'' patch.AVMGuidPatch.description=Set GUIDs on AVM nodes. patch.AVMGuidPatch.result=AVM GUIDS set. - -patch.AVMLayeredSnapshotPatch.description=Set indirectionVersion on Layered Nodes. -patch.AVMLayeredSnapshotPatch.result=Layered Node indirectionVersions set. patch.webscripts.description=Adds Web Scripts to Data Dictionary. patch.webscriptsExtension.description=Adds Web Scripts Extension to Data Dictionary. + +patch.AVMLayeredSnapshot.description=Set indirectionVersion on Layered Nodes. +patch.AVMLayeredSnapshot.result=Layered Node indirectionVersions set. diff --git a/config/alfresco/patch/patch-services-context.xml b/config/alfresco/patch/patch-services-context.xml index b161702864..7045f8f272 100644 --- a/config/alfresco/patch/patch-services-context.xml +++ b/config/alfresco/patch/patch-services-context.xml @@ -743,17 +743,6 @@ - - patch.AVMLayeredSnapshotPatch - patch.AVMLayeredSnapshotPatch.description - 0 - 52 - 53 - - - - - patch.db-V2.1-VersionColumns patch.schemaUpgradeScript.description @@ -782,5 +771,16 @@ - + + + patch.AVMLayeredSnapshot + patch.AVMLayeredSnapshot.description + 0 + 55 + 56 + + + + + diff --git a/config/alfresco/version.properties b/config/alfresco/version.properties index e722b2790c..8debfe7463 100644 --- a/config/alfresco/version.properties +++ b/config/alfresco/version.properties @@ -19,4 +19,4 @@ version.build=@build-number@ # Schema number -version.schema=55 +version.schema=56 diff --git a/source/java/org/alfresco/repo/admin/patch/impl/AVMLayeredSnapshotPatch.java b/source/java/org/alfresco/repo/admin/patch/impl/AVMLayeredSnapshotPatch.java index a34dde0375..7d372113a4 100644 --- a/source/java/org/alfresco/repo/admin/patch/impl/AVMLayeredSnapshotPatch.java +++ b/source/java/org/alfresco/repo/admin/patch/impl/AVMLayeredSnapshotPatch.java @@ -41,7 +41,7 @@ public class AVMLayeredSnapshotPatch extends AbstractPatch { private AVMNodeDAO fAVMNodeDAO; - private static final String MSG_SUCCESS = "patch.AVMLayeredSnapshotPatch.result"; + private static final String MSG_SUCCESS = "patch.AVMLayeredSnapshot.result"; public AVMLayeredSnapshotPatch() { diff --git a/source/java/org/alfresco/repo/avm/hibernate/AVM.hbm.xml b/source/java/org/alfresco/repo/avm/hibernate/AVM.hbm.xml index e0cd447e98..21c75ba6b6 100644 --- a/source/java/org/alfresco/repo/avm/hibernate/AVM.hbm.xml +++ b/source/java/org/alfresco/repo/avm/hibernate/AVM.hbm.xml @@ -212,7 +212,7 @@ nodes that were frozen by the snapshot so that subsequent snapshots can find them and force copies. --> + table="avm_version_layered_node_entry">