Author: chris.laprun(a)jboss.com
Date: 2007-05-23 08:25:16 -0400 (Wed, 23 May 2007)
New Revision: 7313
Modified:
trunk/wsrp/src/resources/portal-wsrp-sar/conf/consumer/hibernate/domain.hbm.xml
Log:
- Added explicit ProducerInfo properties type to solve an issue with Hibernate 3.2.3 (plus
it should have been there to start with).
Modified: trunk/wsrp/src/resources/portal-wsrp-sar/conf/consumer/hibernate/domain.hbm.xml
===================================================================
---
trunk/wsrp/src/resources/portal-wsrp-sar/conf/consumer/hibernate/domain.hbm.xml 2007-05-23
12:18:02 UTC (rev 7312)
+++
trunk/wsrp/src/resources/portal-wsrp-sar/conf/consumer/hibernate/domain.hbm.xml 2007-05-23
12:25:16 UTC (rev 7313)
@@ -28,7 +28,7 @@
<hibernate-mapping>
<class name="org.jboss.portal.wsrp.consumer.ProducerInfo"
table="JBP_PRODUCER_INFO">
<cache usage="@portal.hibernate.cache.usage(a)"/>
- <id name="key" column="PK" access="field">
+ <id name="key" column="PK" access="field"
type="java.lang.Long">
<generator class="native">
<param name="sequence">wsrpconsumer_seq</param>
</generator>
@@ -47,9 +47,9 @@
not-null="false"
cascade="all"
lazy="false"/>
- <property name="expirationCacheSeconds"
column="EXPIRATION_CACHE_SECONDS"/>
- <property name="active" not-null="true"/>
- <property name="id" not-null="true"
unique="true"/>
+ <property name="expirationCacheSeconds"
column="EXPIRATION_CACHE_SECONDS" type="java.lang.Integer"/>
+ <property name="active" not-null="true"
type="boolean"/>
+ <property name="id" not-null="true" unique="true"
type="java.lang.String"/>
</class>
<class name="org.jboss.portal.wsrp.consumer.EndpointConfigurationInfo"
table="JBP_ENDPOINT_INFO">
Show replies by date