[jboss-cvs] jboss-portal/core/src/resources/portal-core-sar/conf/hibernate/instance ...
Julien Viet
julien at jboss.com
Sun Jul 30 08:36:22 EDT 2006
User: julien
Date: 06/07/30 08:36:22
Modified: core/src/resources/portal-core-sar/conf/hibernate/instance
domain.hbm.xml
Log:
JBPORTAL-973 : Portlet instance container integration testing
JBPORTAL-972 : Portlet stateful invoker testing
Revision Changes Path
1.25 +13 -11 jboss-portal/core/src/resources/portal-core-sar/conf/hibernate/instance/domain.hbm.xml
(In the diff below, changes in quantity of whitespace are not shown.)
Index: domain.hbm.xml
===================================================================
RCS file: /cvsroot/jboss/jboss-portal/core/src/resources/portal-core-sar/conf/hibernate/instance/domain.hbm.xml,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- domain.hbm.xml 15 Jul 2006 12:49:19 -0000 1.24
+++ domain.hbm.xml 30 Jul 2006 12:36:22 -0000 1.25
@@ -73,26 +73,28 @@
</id>
<many-to-one
name="instance"
- column="INSTANCE_KEY"
+ column="INSTANCE_PK"
class="org.jboss.portal.core.impl.model.instance.InstanceImpl"
cascade="none"
fetch="select"/>
<property
- name="userId"
- column="USER_ID"
- not-null="true"
- unique="false"/>
- <property
- name="portletRef"
- column="PORTLET_REF"
- not-null="false"
- unique="false"/>
- <property
name="state"
column="SER_STATE"
not-null="false"
unique="false"
length="50000000"/>
+ <properties
+ name="user_and_portlet_ref"
+ unique="true">
+ <property
+ name="userId"
+ column="USER_ID"
+ not-null="true"/>
+ <property
+ name="portletRef"
+ column="PORTLET_REF"
+ not-null="true"/>
+ </properties>
</class>
<class
More information about the jboss-cvs-commits
mailing list