[jboss-cvs] jboss-portal/migration/src/resources/portal-migration-war/WEB-INF/classes/schema24/portlet ...
Julien Viet
julien at jboss.com
Sat Jul 15 08:49:19 EDT 2006
User: julien
Date: 06/07/15 08:49:19
Modified: migration/src/resources/portal-migration-war/WEB-INF/classes/schema24/portlet
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.4 +3 -5 jboss-portal/migration/src/resources/portal-migration-war/WEB-INF/classes/schema24/portlet/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/migration/src/resources/portal-migration-war/WEB-INF/classes/schema24/portlet/domain.hbm.xml,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -b -r1.3 -r1.4
--- domain.hbm.xml 13 Jun 2006 12:17:08 -0000 1.3
+++ domain.hbm.xml 15 Jul 2006 12:49:19 -0000 1.4
@@ -7,8 +7,7 @@
name="org.jboss.portal.migration.model24.portlet.PersistentState24"
table="JBP_PORTLET_STATE">
<!--<cache usage="read-write"/>-->
- <id name="key" access="field">
- <column name="PK"/>
+ <id name="key" access="field" column="PK">
<generator class="native">
<param name="sequence">portlet_seq</param>
</generator>
@@ -58,11 +57,10 @@
</set>
<many-to-one
name="parent"
+ column="PARENT_PK"
class="org.jboss.portal.migration.model24.portlet.PersistentState24"
cascade="none"
- fetch="select">
- <column name="PARENT_PK"/>
- </many-to-one>
+ fetch="select"/>
</class>
<class
More information about the jboss-cvs-commits
mailing list