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
This commit is contained in:
Derek Hulley
2007-06-13 19:55:22 +00:00
parent 7735ae0acd
commit 7956a08df8
5 changed files with 18 additions and 18 deletions

View File

@@ -146,8 +146,8 @@ patch.invalidUserPersonAndGroup.result=Fixed ''{0}'' invalid user nodes, ''{1}''
patch.AVMGuidPatch.description=Set GUIDs on AVM nodes. patch.AVMGuidPatch.description=Set GUIDs on AVM nodes.
patch.AVMGuidPatch.result=AVM GUIDS set. 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.webscripts.description=Adds Web Scripts to Data Dictionary.
patch.webscriptsExtension.description=Adds Web Scripts Extension 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.

View File

@@ -743,17 +743,6 @@
</property> </property>
</bean> </bean>
<bean id="patch.AVMLayeredSnapshotPatch" class="org.alfresco.repo.admin.patch.impl.AVMLayeredSnapshotPatch" parent="basePatch">
<property name="id"><value>patch.AVMLayeredSnapshotPatch</value></property>
<property name="description"><value>patch.AVMLayeredSnapshotPatch.description</value></property>
<property name="fixesFromSchema"><value>0</value></property>
<property name="fixesToSchema"><value>52</value></property>
<property name="targetSchema"><value>53</value></property>
<property name="avmNodeDAO">
<ref bean="avmNodeDAO"/>
</property>
</bean>
<bean id="patch.db-V2.1-VersionColumns" class="org.alfresco.repo.admin.patch.impl.SchemaUpgradeScriptPatch" parent="basePatch"> <bean id="patch.db-V2.1-VersionColumns" class="org.alfresco.repo.admin.patch.impl.SchemaUpgradeScriptPatch" parent="basePatch">
<property name="id"><value>patch.db-V2.1-VersionColumns</value></property> <property name="id"><value>patch.db-V2.1-VersionColumns</value></property>
<property name="description"><value>patch.schemaUpgradeScript.description</value></property> <property name="description"><value>patch.schemaUpgradeScript.description</value></property>
@@ -783,4 +772,15 @@
</property> </property>
</bean> </bean>
<bean id="patch.AVMLayeredSnapshot" class="org.alfresco.repo.admin.patch.impl.AVMLayeredSnapshotPatch" parent="basePatch">
<property name="id"><value>patch.AVMLayeredSnapshot</value></property>
<property name="description"><value>patch.AVMLayeredSnapshot.description</value></property>
<property name="fixesFromSchema"><value>0</value></property>
<property name="fixesToSchema"><value>55</value></property>
<property name="targetSchema"><value>56</value></property>
<property name="avmNodeDAO">
<ref bean="avmNodeDAO"/>
</property>
</bean>
</beans> </beans>

View File

@@ -19,4 +19,4 @@ version.build=@build-number@
# Schema number # Schema number
version.schema=55 version.schema=56

View File

@@ -41,7 +41,7 @@ public class AVMLayeredSnapshotPatch extends AbstractPatch
{ {
private AVMNodeDAO fAVMNodeDAO; private AVMNodeDAO fAVMNodeDAO;
private static final String MSG_SUCCESS = "patch.AVMLayeredSnapshotPatch.result"; private static final String MSG_SUCCESS = "patch.AVMLayeredSnapshot.result";
public AVMLayeredSnapshotPatch() public AVMLayeredSnapshotPatch()
{ {

View File

@@ -212,7 +212,7 @@
nodes that were frozen by the snapshot so that subsequent nodes that were frozen by the snapshot so that subsequent
snapshots can find them and force copies. --> snapshots can find them and force copies. -->
<class name="VersionLayeredNodeEntryImpl" proxy="VersionLayeredNodeEntry" <class name="VersionLayeredNodeEntryImpl" proxy="VersionLayeredNodeEntry"
table="avm_version_layered_node_entries"> table="avm_version_layered_node_entry">
<composite-id> <composite-id>
<key-many-to-one name="version" class="VersionRootImpl" column="version_root_id"/> <key-many-to-one name="version" class="VersionRootImpl" column="version_root_id"/>
<key-property name="md5Sum" type="string" length="32" column="md5sum"/> <key-property name="md5Sum" type="string" length="32" column="md5sum"/>