You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wsrp4j-dev@portals.apache.org by dl...@apache.org on 2006/12/25 22:54:58 UTC
svn commit: r490185 - in
/portals/wsrp4j/trunk/persistence-db/src/resources/org/apache/wsrp4j/commons:
persistence/driver/WSRPServiceDescription.hbm.xml
producer/driver/RegistrationImpl.hbm.xml
Author: dlouzan
Date: Mon Dec 25 13:54:57 2006
New Revision: 490185
URL: http://svn.apache.org/viewvc?view=rev&rev=490185
Log:
Corrected errors on DB mapping.
Modified:
portals/wsrp4j/trunk/persistence-db/src/resources/org/apache/wsrp4j/commons/persistence/driver/WSRPServiceDescription.hbm.xml
portals/wsrp4j/trunk/persistence-db/src/resources/org/apache/wsrp4j/commons/producer/driver/RegistrationImpl.hbm.xml
Modified: portals/wsrp4j/trunk/persistence-db/src/resources/org/apache/wsrp4j/commons/persistence/driver/WSRPServiceDescription.hbm.xml
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/persistence-db/src/resources/org/apache/wsrp4j/commons/persistence/driver/WSRPServiceDescription.hbm.xml?view=diff&rev=490185&r1=490184&r2=490185
==============================================================================
--- portals/wsrp4j/trunk/persistence-db/src/resources/org/apache/wsrp4j/commons/persistence/driver/WSRPServiceDescription.hbm.xml (original)
+++ portals/wsrp4j/trunk/persistence-db/src/resources/org/apache/wsrp4j/commons/persistence/driver/WSRPServiceDescription.hbm.xml Mon Dec 25 13:54:57 2006
@@ -23,13 +23,13 @@
<class name="org.apache.wsrp4j.commons.persistence.driver.WSRPServiceDescription"
table="SERVICE_DESC">
- <id name="id" column="ID"/>
- <property name="requiresInitCookie" type="string" column="RQRCOOKIE"/>
+ <id name="id" type="string" column="ID"/>
+ <property name="initCookieRequired" type="string" column="RQRCOOKIE"/>
<property name="requiresRegistration" type="boolean" column="RQRREG"/>
<property name="registrationPropertyDescription"
type="oasis.names.tc.wsrp.v1.types.ModelDescription"
column="REGPROPDESC"/>
- <array name="userCategoryDescriptions" table="USER_CATEGORY_DESC">
+ <array name="userCategoryDescriptions" table="SERVDESC_USER_CATEGORY_DESC">
<key column="ID"/>
<list-index column="IDX"/>
<composite-element class="oasis.names.tc.wsrp.v1.types.ItemDescription"/>
@@ -52,7 +52,7 @@
<array name="locales" table="SERVDESC_LOCALE">
<key column="ID"/>
<list-index column="IDX"/>
- <composite-element class="string"/>
+ <composite-element class="java.lang.String"/>
</array>
<array name="extensions" table="SERVDESC_EXT">
<key column="ID"/>
Modified: portals/wsrp4j/trunk/persistence-db/src/resources/org/apache/wsrp4j/commons/producer/driver/RegistrationImpl.hbm.xml
URL: http://svn.apache.org/viewvc/portals/wsrp4j/trunk/persistence-db/src/resources/org/apache/wsrp4j/commons/producer/driver/RegistrationImpl.hbm.xml?view=diff&rev=490185&r1=490184&r2=490185
==============================================================================
--- portals/wsrp4j/trunk/persistence-db/src/resources/org/apache/wsrp4j/commons/producer/driver/RegistrationImpl.hbm.xml (original)
+++ portals/wsrp4j/trunk/persistence-db/src/resources/org/apache/wsrp4j/commons/producer/driver/RegistrationImpl.hbm.xml Mon Dec 25 13:54:57 2006
@@ -23,11 +23,12 @@
<class name="org.apache.wsrp4j.commons.producer.driver.RegistrationImpl"
table="REGISTRATION">
- <composite-id class="oasis.names.tc.wsrp.v1.types.RegistrationContext">
- <key-property name="registrationHandle" column="REGHANDLE"/>
- </composite-id>
- <property name="registrationContext" column="REGCTXT"/>
- <property name="registrationData" column="REGDATA"/>
+ <id name="registrationContext"
+ type="oasis.names.tc.wsrp.v1.types.RegistrationContext"
+ column="REGCTXT"/>
+ <property name="registrationData"
+ type="oasis.names.tc.wsrp.v1.types.RegistrationData"
+ column="REGDATA"/>
</class>
</hibernate-mapping>