juddi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ks...@apache.org
Subject svn commit: r902632 - in /webservices/juddi/trunk: docs/db/ddl/oracle9.ddl docs/db/ddl/postgres.ddl juddi-core/pom.xml juddi-core/src/main/resources/persistence/juddi-orm.xml
Date Sun, 24 Jan 2010 19:50:18 GMT
Author: kstam
Date: Sun Jan 24 19:50:17 2010
New Revision: 902632

URL: http://svn.apache.org/viewvc?rev=902632&view=rev
Log:
JUDDI-329 - Adding SQL scripts

Added:
    webservices/juddi/trunk/juddi-core/src/main/resources/persistence/juddi-orm.xml
Modified:
    webservices/juddi/trunk/docs/db/ddl/oracle9.ddl
    webservices/juddi/trunk/docs/db/ddl/postgres.ddl
    webservices/juddi/trunk/juddi-core/pom.xml

Modified: webservices/juddi/trunk/docs/db/ddl/oracle9.ddl
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/docs/db/ddl/oracle9.ddl?rev=902632&r1=902631&r2=902632&view=diff
==============================================================================
--- webservices/juddi/trunk/docs/db/ddl/oracle9.ddl (original)
+++ webservices/juddi/trunk/docs/db/ddl/oracle9.ddl Sun Jan 24 19:50:17 2010
@@ -628,4 +628,4 @@
         foreign key (transfer_token) 
         references j3_transfer_token;
 
-    create sequence hibernate_sequence;
+    create sequence juddi_sequence;

Modified: webservices/juddi/trunk/docs/db/ddl/postgres.ddl
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/docs/db/ddl/postgres.ddl?rev=902632&r1=902631&r2=902632&view=diff
==============================================================================
--- webservices/juddi/trunk/docs/db/ddl/postgres.ddl (original)
+++ webservices/juddi/trunk/docs/db/ddl/postgres.ddl Sun Jan 24 19:50:17 2010
@@ -628,4 +628,4 @@
         foreign key (transfer_token) 
         references j3_transfer_token;
 
-    create sequence hibernate_sequence;
+    create sequence juddi_sequence;

Modified: webservices/juddi/trunk/juddi-core/pom.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-core/pom.xml?rev=902632&r1=902631&r2=902632&view=diff
==============================================================================
--- webservices/juddi/trunk/juddi-core/pom.xml (original)
+++ webservices/juddi/trunk/juddi-core/pom.xml Sun Jan 24 19:50:17 2010
@@ -62,6 +62,7 @@
 						<exclude>**/persistence.xml</exclude>
 						<exclude>**/hibernate-persistence.xml</exclude>
 						<exclude>**/openjpa-persistence.xml</exclude>
+						<exclude>**/juddi-orm.xml</exclude>
 					</excludes>
 				</configuration>
 			</plugin>

Added: webservices/juddi/trunk/juddi-core/src/main/resources/persistence/juddi-orm.xml
URL: http://svn.apache.org/viewvc/webservices/juddi/trunk/juddi-core/src/main/resources/persistence/juddi-orm.xml?rev=902632&view=auto
==============================================================================
--- webservices/juddi/trunk/juddi-core/src/main/resources/persistence/juddi-orm.xml (added)
+++ webservices/juddi/trunk/juddi-core/src/main/resources/persistence/juddi-orm.xml Sun Jan
24 19:50:17 2010
@@ -0,0 +1,225 @@
+<entity-mappings
+  xmlns="http://java.sun.com/xml/ns/persistence/orm"
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+  xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://java.sun.com/xml/ns/persistence/orm_1_0.xsd"
+  version="1.0">
+  
+  <sequence-generator name="juddi_sequence" sequence-name="juddi_sequence"/>
+
+  <entity class="org.apache.juddi.model.Address">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.AddressLine">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.BindingDescr">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.BusinessDescr">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.BusinessIdentifier">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.BusinessName">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.CategoryBag">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.Contact">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.ContactDescr">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.DiscoveryUrl">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.Email">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.InstanceDetailsDescr">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.InstanceDetailsDocDescr">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+ <entity class="org.apache.juddi.model.KeyedReference">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.KeyedReferenceGroup">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.OverviewDoc">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.OverviewDocDescr">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.PersonName">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.Phone">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.ServiceDescr">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.ServiceName">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.SubscriptionMatch">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.TmodelDescr">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.TmodelIdentifier">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.TmodelInstanceInfo">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.TmodelInstanceInfoDescr">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.TransferTokenKey">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+</entity-mappings>



---------------------------------------------------------------------
To unsubscribe, e-mail: juddi-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: juddi-cvs-help@ws.apache.org


Mime
View raw message