db-jdo-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From c..@apache.org
Subject svn commit: r380324 [2/2] - in /db/jdo/trunk/api20: src/schema/javax/jdo/ test/java/javax/jdo/schema/ test/schema/
Date Fri, 24 Feb 2006 03:50:19 GMT
Added: db/jdo/trunk/api20/test/schema/Positive99-xsd.orm
URL: http://svn.apache.org/viewcvs/db/jdo/trunk/api20/test/schema/Positive99-xsd.orm?rev=380324&view=auto
==============================================================================
--- db/jdo/trunk/api20/test/schema/Positive99-xsd.orm (added)
+++ db/jdo/trunk/api20/test/schema/Positive99-xsd.orm Thu Feb 23 19:50:16 2006
@@ -0,0 +1,339 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<orm xmlns="http://java.sun.com/xml/ns/jdo/orm"
+     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+     xsi:schemaLocation="http://java.sun.com/xml/ns/jdo/orm 
+                         http://java.sun.com/xml/ns/jdo/orm_2_0.xsd">
+  <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+  <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+  <package 
+    name="org.apache.jdo"
+    catalog="CATALOG"
+    schema="SCHEMA">
+    <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+    <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+    <interface 
+      name="Datastore" 
+      table="TABLE"       catalog="CATALOG"
+      schema="SCHEMA">
+      <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      <datastore-identity
+        column="COLUMN"
+        strategy="anything"
+        sequence="SEQUENCE">
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <column/>
+        <column/>        
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      </datastore-identity>
+      <primary-key/>
+      <inheritance
+        strategy="anything">
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <join/>
+        <discriminator
+          column="COLUMN"
+          value="VALUE"
+          strategy="anything"
+          indexed="true">
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <column/>
+          <column/>
+          <index/>        
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        </discriminator>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      </inheritance>
+      <version
+        strategy="anything"
+        column="COLUMN"
+        indexed="true">
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <column/>
+        <column/>
+        <index/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      </version>
+      <join/>
+      <foreign-key/>
+      <index/>
+      <unique/>
+      <property
+        name="property1"
+        value-strategy="valuestrategy"
+        sequence="sequence"
+        table="TABLE"
+        column="COLUMN"
+        delete-action="restrict"
+        indexed="true"
+        unique="true"
+        mapped-by="mappedby">
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <join
+          table="JOINTABLE"
+          column="JOINCOLUMN"
+          outer="true"
+          delete-action="restrict"
+          indexed="true"
+          unique="true">
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <primary-key
+            name="JOINPRIMARYKEY"
+            column="JOINPRIMARYKEYCOLUMN">
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <column
+              name="PRIMARYKEYCOLUMN"
+              target="TARGET"
+              target-field="TARGETFIELD"
+              jdbc-type="JDBCTYPE"
+              sql-type="SQLTYPE"
+              length="17"
+              scale="12"
+              allows-null="true"
+              default-value="DEFAULTVALUE"
+              insert-value="INSERTVALUE">
+              <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+              <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            </column>
+            <column/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          </primary-key>
+          <column
+              allows-null="false"/>
+          <column/>
+          <foreign-key
+            table="TABLE"
+            deferred="true"
+            delete-action="cascade"
+            update-action="cascade"
+            unique="true"
+            name="foreignkey">
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <column/>
+            <column/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          </foreign-key>
+          <index
+            name="INDEXNAME"
+            table="TABLE"
+            unique="true">
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <field name="name5"/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          </index>  
+          <unique
+            name="UNIQUENAME"
+            table="TABLE"
+            deferred="true">
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <property name="name11"/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+            <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          </unique>  
+        </join>  
+        <embedded
+          owner-field="owner"
+          null-indicator-column="COLUMN"
+          null-indicator-value="NULL">
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <field name="name13"/>
+          <field name="name14"/>
+          <property name="name15"/>
+          <property name="name16"/>          
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        </embedded>
+        <element
+          column="COLUMN"
+          table="TABLE"
+          delete-action="restrict"
+          update-action="restrict"
+          indexed="true"
+          unique="true"
+          mapped-by="otherfield">
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <embedded/>
+          <column/>
+          <column/>
+          <foreign-key/>
+          <index/>
+          <unique/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        </element>
+        <key
+          column="COLUMN"
+          table="TABLE"
+          delete-action="restrict"
+          indexed="true"
+          unique="true"
+          mapped-by="anything">
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <embedded/>
+          <column/>
+          <column/>
+          <foreign-key/>
+          <index/>
+          <unique/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        </key>  
+        <value
+          column="COLUMN"
+          table="TABLE"
+          delete-action="restrict"
+          indexed="true"
+          unique="true"
+          mapped-by="anything">
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <embedded/>
+          <column/>
+          <column/>
+          <foreign-key/>
+          <index/>
+          <unique/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        </value>
+        <order
+          column="COLUMN"
+          mapped-by="anything">
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <column/>
+          <column/>
+          <index/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+          <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        </order> 
+        <column/>
+        <column/>
+        <foreign-key/>
+        <index/>
+        <unique/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      </property>  
+      <property
+        name="property2"
+        delete-action="cascade"
+        indexed="false"
+        unique="false">
+      </property>  
+      <property
+        name="property3"
+        delete-action="null"
+        indexed="unique">
+      </property>
+      <property
+        name="property4"
+        delete-action="default"/>
+      <property
+        name="property5"
+        delete-action="none"/>
+      <query
+        name="QUERY"
+        language="javax.jdo.JDOQL"
+        unmodifiable="true"
+        unique="true"
+        result-class="ResultClass">
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        SELECT name FROM Employee
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+        <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      </query>
+      <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+    </interface>
+    <interface
+      name="Interface2"
+      table="TABLE"/>
+    <class
+      name="ApplicationCapable"
+      table="TABLE"
+      catalog="CATALOG"
+      schema="SCHEMA">
+      <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      <datastore-identity/>
+      <primary-key/>
+      <inheritance/>
+      <version/>
+      <join/>
+      <join/>
+      <foreign-key/>
+      <foreign-key/>
+      <index/>
+      <index/>
+      <unique/>
+      <unique/>
+      <column/>
+      <column/>
+      <field
+        name="name">
+        <extension vendor-name="sunw" key="index" value="btree"/>
+      </field>
+      <field 
+        name="salary"/>
+      <field 
+        name="dept">
+        <extension vendor-name="sunw" key="inverse" value="emps"/>
+      </field>
+      <field 
+        name="boss"/>
+      <property 
+        name="name25"/>
+      <property 
+        name="name26"/>
+      <query 
+        name="namedQuery1"/>
+      <query 
+        name="namedQuery2"/>
+      <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+    </class>
+    <class
+        name="DatastoreAware"
+        catalog="CATALOG"
+        schema="SCHEMA"/>
+    <class
+        name="NondurableNonpersistent"/>
+    <sequence
+      name="sequence1"
+      datastore-sequence="SEQUENCE"
+      factory-class="FactoryClass"
+      strategy="nontransactional">
+      <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+      <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+    </sequence>
+    <sequence
+      name="sequence2"
+      strategy="contiguous"/>
+    <sequence
+      name="sequence3"
+      strategy="noncontiguous"/>
+  </package>
+  <extension vendor-name="SUNW" key="KEY" value="VALUE"/>
+</orm>



Mime
View raw message