[jboss-cvs] jboss-portal/core/src/resources/portal-core-sar/conf/hibernate/security ...
Julien Viet
julien at jboss.com
Sat Jul 15 05:05:51 EDT 2006
User: julien
Date: 06/07/15 05:05:51
Modified: core/src/resources/portal-core-sar/conf/hibernate/security
Tag: JBoss_Portal_Branch_2_2 domain.hbm.xml
Log:
JBPORTAL-960 : Hibernate domain configuration files do not declare properly the column constraints
Revision Changes Path
No revision
No revision
1.5.4.2 +6 -9 jboss-portal/core/src/resources/portal-core-sar/conf/hibernate/security/Attic/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/security/Attic/domain.hbm.xml,v
retrieving revision 1.5.4.1
retrieving revision 1.5.4.2
diff -u -b -r1.5.4.1 -r1.5.4.2
--- domain.hbm.xml 14 Jan 2006 02:34:32 -0000 1.5.4.1
+++ domain.hbm.xml 15 Jul 2006 09:05:51 -0000 1.5.4.2
@@ -17,10 +17,9 @@
</id>
<property
name="reference"
+ column="REF"
not-null="true"
- unique="true">
- <column name="REF"/>
- </property>
+ unique="true"/>
<property
name="parentReference"
not-null="false"
@@ -52,15 +51,13 @@
-->
<property
name="role"
+ column="ROLE"
not-null="false"
- unique="false">
- <column name="ROLE"/>
- </property>
+ unique="false"/>
<property
name="actions"
+ column="ACTIONS"
not-null="false"
- unique="false">
- <column name="ACTIONS"/>
- </property>
+ unique="false"/>
</class>
</hibernate-mapping>
More information about the jboss-cvs-commits
mailing list