[jboss-cvs] jboss-portal/core/src/resources/portal-core-sar/conf/hibernate/instance ...
Julien Viet
julien at jboss.com
Sat Jul 15 08:49:19 EDT 2006
User: julien
Date: 06/07/15 08:49:19
Modified: core/src/resources/portal-core-sar/conf/hibernate/instance
domain.hbm.xml
Log:
JBPORTAL-960 : Hibernate domain configuration files do not declare properly the column constraints
for the migration app as well
Revision Changes Path
1.24 +8 -4 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.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- domain.hbm.xml 15 Jul 2006 08:55:07 -0000 1.23
+++ domain.hbm.xml 15 Jul 2006 12:49:19 -0000 1.24
@@ -7,8 +7,10 @@
name="org.jboss.portal.core.impl.model.instance.InstanceImpl"
table="JBP_INSTANCE">
<cache usage="@portal.hibernate.cache.usage@"/>
- <id name="key" access="field">
- <column name="PK"/>
+ <id
+ name="key"
+ column="PK"
+ access="field">
<generator class="native">
<param name="sequence">instance_seq</param>
</generator>
@@ -61,8 +63,10 @@
name="org.jboss.portal.core.impl.model.instance.UserInstance"
table="JBP_INSTANCE_PER_USER">
<cache usage="@portal.hibernate.cache.usage@"/>
- <id name="key" access="field">
- <column name="PK"/>
+ <id
+ name="key"
+ column="PK"
+ access="field">
<generator class="native">
<param name="sequence">instance_seq</param>
</generator>
More information about the jboss-cvs-commits
mailing list