db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r903085 - /db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/singlefieldidentity/package-standard.orm
Date Tue, 26 Jan 2010 05:22:13 GMT
Author: clr
Date: Tue Jan 26 05:22:13 2010
New Revision: 903085

URL: http://svn.apache.org/viewvc?rev=903085&view=rev
Log:
Missed the orm in the commit

Modified:
    db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/singlefieldidentity/package-standard.orm

Modified: db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/singlefieldidentity/package-standard.orm
URL: http://svn.apache.org/viewvc/db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/singlefieldidentity/package-standard.orm?rev=903085&r1=903084&r2=903085&view=diff
==============================================================================
--- db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/singlefieldidentity/package-standard.orm
(original)
+++ db/jdo/trunk/tck2/src/orm/applicationidentity/org/apache/jdo/tck/pc/singlefieldidentity/package-standard.orm
Tue Jan 26 05:22:13 2010
@@ -97,6 +97,35 @@
       <field name="y" column="Y"/>
     </class>
 
+    <class name="PartTimeEmployee">
+      <inheritance strategy="superclass-table"/>
+      <field name="wage" column="WAGE"/>
+    </class>
+
+    <class name="FullTimeEmployee">
+      <inheritance strategy="superclass-table"/>
+      <field name="salary" column="SALARY"/>
+    </class>
+
+    <class name="Employee">
+      <inheritance strategy="superclass-table"/>
+      <field name="hiredate" column="HIREDATE"/>
+      <field name="weeklyhours" column="WEEKLYHOURS"/>
+    </class>
+
+    <class name="Person" table="persons">
+      <inheritance strategy="new-table">
+        <discriminator strategy="class-name" column="DISCRIMINATOR"
+        indexed="true"/>
+      </inheritance>
+      <field name="id" column="PERSONID"/>
+      <field name="firstname" column="FIRSTNAME"/>
+      <field name="lastname" column="LASTNAME"/>
+      <field name="middlename">
+        <column name="MIDDLENAME" allows-null="true"/>
+      </field>
+      <field name="birthdate" column="BIRTHDATE"/>
+    </class>
   </package>
 </orm>
 



Mime
View raw message