You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by cl...@apache.org on 2010/01/26 06:22:13 UTC

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

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>