← Back to team overview

dhis2-devs team mailing list archive

[Branch ~dhis2-devs-core/dhis2/trunk] Rev 4371: Fix to column name in version hbm xml

 

------------------------------------------------------------
revno: 4371
committer: Lars Helge Overland <larshelge@xxxxxxxxx>
branch nick: dhis2
timestamp: Fri 2011-08-19 12:30:25 +0200
message:
  Fix to column name in version hbm xml
modified:
  dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/version/hibernate/Version.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/version/hibernate/Version.hbm.xml'
--- dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/version/hibernate/Version.hbm.xml	2011-08-11 11:31:42 +0000
+++ dhis-2/dhis-services/dhis-service-core/src/main/resources/org/hisp/dhis/version/hibernate/Version.hbm.xml	2011-08-19 10:30:25 +0000
@@ -12,11 +12,9 @@
       <generator class="native" />
     </id>
 
-    <property name="key">
-      <column name="key" not-null="true" unique="true" length="230" />
-    </property>
+    <property name="key" column="versionkey" not-null="true" length="230"/>
 
-    <property name="value" />
+    <property name="value" column="versionvalue"/>
 
   </class>
 </hibernate-mapping>