[jboss-svn-commits] JBL Code SVN: r38260 - in labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3: juddi-sql/db2 and 7 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Sun Dec 16 22:45:36 EST 2012


Author: tcunning
Date: 2012-12-16 22:45:36 -0500 (Sun, 16 Dec 2012)
New Revision: 38260

Modified:
   labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/esb-juddi-orm-as6_1.xml
   labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/esb-juddi-orm.xml
   labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/db2/import.sql
   labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/derby/import.sql
   labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/hsqldb/import.sql
   labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/mysql/import.sql
   labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/oracle9/import.sql
   labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/postgres/import.sql
   labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/sqlserver/import.sql
   labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/sybase/import.sql
Log:
JBESB-3889
Shorten table length of j3_signature_transform_data_value and make a corresponding 
change to the orm.xml for a valid mapping.     Also, add the use of the juddi_sequence
to all tables that are not using it currently.


Modified: labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/esb-juddi-orm-as6_1.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/esb-juddi-orm-as6_1.xml	2012-12-04 00:38:35 UTC (rev 38259)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/esb-juddi-orm-as6_1.xml	2012-12-17 03:45:36 UTC (rev 38260)
@@ -174,6 +174,10 @@
     </attributes>
   </entity>
 
+  <entity class="org.apache.juddi.model.SignatureTransformDataValue" access="PROPERTY">
+      <table name="j3_signature_transform_data"/>
+  </entity>
+
   <entity class="org.apache.juddi.model.SubscriptionMatch">
     <attributes>
       <id name="id">

Modified: labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/esb-juddi-orm.xml
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/esb-juddi-orm.xml	2012-12-04 00:38:35 UTC (rev 38259)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/esb-juddi-orm.xml	2012-12-17 03:45:36 UTC (rev 38260)
@@ -22,6 +22,14 @@
     </attributes>
   </entity>
 
+  <entity class="org.apache.juddi.model.BindingCategoryBag">
+    <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">
@@ -30,6 +38,14 @@
     </attributes>
   </entity>
 
+  <entity class="org.apache.juddi.model.BusinessCategoryBag">
+    <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">
@@ -54,6 +70,14 @@
     </attributes>
   </entity>
 
+  <entity class="org.apache.juddi.model.CanonicalizationMethod">
+    <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">
@@ -110,7 +134,7 @@
     </attributes>
   </entity>
 
- <entity class="org.apache.juddi.model.KeyedReference">
+  <entity class="org.apache.juddi.model.KeyDataValue">
     <attributes>
       <id name="id">
         <generated-value generator="juddi_sequence" strategy="AUTO"/>
@@ -118,6 +142,22 @@
     </attributes>
   </entity>
 
+  <entity class="org.apache.juddi.model.KeyInfo">
+    <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">
@@ -126,6 +166,22 @@
     </attributes>
   </entity>
 
+  <entity class="org.apache.juddi.model.ObjectType">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.ObjectTypeContent">
+    <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">
@@ -158,6 +214,22 @@
     </attributes>
   </entity>
 
+  <entity class="org.apache.juddi.model.Reference">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.ServiceCategoryBag">
+    <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">
@@ -174,6 +246,55 @@
     </attributes>
   </entity>
 
+  <entity class="org.apache.juddi.model.Signature">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.SignatureMethod">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.SignatureTransform">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.SignatureTransformDataValue">
+    <table name="j3_signature_transform_data"/>
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.SignatureValue">
+    <attributes>
+      <id name="id">
+        <generated-value generator="juddi_sequence" strategy="AUTO"/>
+      </id>
+    </attributes>
+  </entity>
+
+  <entity class="org.apache.juddi.model.SignedInfo">
+    <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">
@@ -182,6 +303,14 @@
     </attributes>
   </entity>
 
+  <entity class="org.apache.juddi.model.TmodelCategoryBag">
+    <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">

Modified: labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/db2/import.sql
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/db2/import.sql	2012-12-04 00:38:35 UTC (rev 38259)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/db2/import.sql	2012-12-17 03:45:36 UTC (rev 38260)
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data (
         id bigint generated by default as identity,
         content_bytes blob(255),
         content_type varchar(255),
@@ -753,7 +753,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/derby/import.sql
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/derby/import.sql	2012-12-04 00:38:35 UTC (rev 38259)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/derby/import.sql	2012-12-17 03:45:36 UTC (rev 38260)
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data (
         id bigint not null,
         content_bytes blob(255),
         content_type varchar(255),
@@ -753,7 +753,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/hsqldb/import.sql
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/hsqldb/import.sql	2012-12-04 00:38:35 UTC (rev 38259)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/hsqldb/import.sql	2012-12-17 03:45:36 UTC (rev 38260)
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data (
         id bigint generated by default as identity (start with 1),
         content_bytes longvarbinary not null,
         content_type varchar(255),
@@ -753,7 +753,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/mysql/import.sql
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/mysql/import.sql	2012-12-04 00:38:35 UTC (rev 38259)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/mysql/import.sql	2012-12-17 03:45:36 UTC (rev 38260)
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data (
         id bigint not null auto_increment,
         content_bytes longblob,
         content_type varchar(255),
@@ -807,7 +807,7 @@
         foreign key (reference_key) 
         references j3_reference (id);
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data 
         add index FK3242526C7B88B2A4 (signature_transform_key), 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 

Modified: labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/oracle9/import.sql
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/oracle9/import.sql	2012-12-04 00:38:35 UTC (rev 38259)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/oracle9/import.sql	2012-12-17 03:45:36 UTC (rev 38260)
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data (
         id number(19,0) not null,
         content_bytes blob,
         content_type varchar2(255 char),
@@ -753,7 +753,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/postgres/import.sql
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/postgres/import.sql	2012-12-04 00:38:35 UTC (rev 38259)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/postgres/import.sql	2012-12-17 03:45:36 UTC (rev 38260)
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data (
         id int8 not null,
         content_bytes oid,
         content_type varchar(255),
@@ -753,7 +753,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/sqlserver/import.sql
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/sqlserver/import.sql	2012-12-04 00:38:35 UTC (rev 38259)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/sqlserver/import.sql	2012-12-17 03:45:36 UTC (rev 38260)
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data (
         id numeric(19,0) identity not null,
         content_bytes image null,
         content_type varchar(255) null,
@@ -753,7 +753,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;

Modified: labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/sybase/import.sql
===================================================================
--- labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/sybase/import.sql	2012-12-04 00:38:35 UTC (rev 38259)
+++ labs/jbossesb/branches/JBESB_4_11_CP/product/install/jUDDI-registryV3/juddi-sql/sybase/import.sql	2012-12-17 03:45:36 UTC (rev 38260)
@@ -358,7 +358,7 @@
         primary key (id)
     );
 
-    create table j3_signature_transform_data_value (
+    create table j3_signature_transform_data (
         id numeric(19,0) identity not null,
         content_bytes image null,
         content_type varchar(255) null,
@@ -753,7 +753,7 @@
         foreign key (reference_key) 
         references j3_reference;
 
-    alter table j3_signature_transform_data_value 
+    alter table j3_signature_transform_data 
         add constraint FK3242526C7B88B2A4 
         foreign key (signature_transform_key) 
         references j3_signature_transform;



More information about the jboss-svn-commits mailing list