← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 18276: add index for Translation objectproperty composite key

 

------------------------------------------------------------
revno: 18276
committer: Morten Olav Hansen <mortenoh@xxxxxxxxx>
branch nick: dhis2
timestamp: Mon 2015-02-16 15:53:40 +0700
message:
  add index for Translation objectproperty composite key
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/translation/hibernate/Translation.hbm.xml


--
lp:dhis2
https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk

Your team DHIS 2 developers is subscribed to branch lp:dhis2.
To unsubscribe from this branch go to https://code.launchpad.net/~dhis2-devs-core/dhis2/trunk/+edit-subscription
=== modified file 'dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/translation/hibernate/Translation.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/translation/hibernate/Translation.hbm.xml	2014-05-15 16:58:37 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/translation/hibernate/Translation.hbm.xml	2015-02-16 08:53:40 +0000
@@ -18,7 +18,7 @@
     <property name="className" column="objectclass" length="127" unique-key="translation_composite_key" />
     <property name="objectUid" column="objectUid" length="11" unique-key="translation_composite_key" />
     <property name="locale" column="locale" length="15" unique-key="translation_composite_key" />
-    <property name="property" column="objectproperty" length="63" unique-key="translation_composite_key" />
+    <property name="property" column="objectproperty" length="63" unique-key="translation_composite_key" index="translation_objectproperty_key" />
 
     <property name="value" column="value" type="text" not-null="true" />