[jboss-cvs] jboss-portal/core/src/resources/portal-core-sar/conf/hibernate/portal ...

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/portal 
                        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.12.2.5  +6 -11     jboss-portal/core/src/resources/portal-core-sar/conf/hibernate/portal/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/portal/domain.hbm.xml,v
  retrieving revision 1.12.2.4
  retrieving revision 1.12.2.5
  diff -u -b -r1.12.2.4 -r1.12.2.5
  --- domain.hbm.xml	10 Mar 2006 11:31:14 -0000	1.12.2.4
  +++ domain.hbm.xml	15 Jul 2006 09:05:51 -0000	1.12.2.5
  @@ -17,17 +17,14 @@
         </id>
         <property
            name="path"
  +         column="PATH"
            type="org.jboss.portal.core.hibernate.MagicString"
            not-null="true"
  -         unique="true">
  -         <column name="PATH"/>
  -      </property>
  +         unique="true"/>
         <property
            name="name"
  -         not-null="true">
  -         <column
  -            name="NAME"/>
  -      </property>
  +         column="NAME"
  +         not-null="true"/>
         <map
            name="children"
            inverse="true"
  @@ -42,12 +39,10 @@
         </map>
         <many-to-one
            name="parent"
  +         column="PARENT_KEY"
            not-null="false"
            cascade="none"
  -         fetch="select">
  -         <column
  -            name="PARENT_KEY"/>
  -      </many-to-one>
  +         fetch="select"/>
         <one-to-one
            name="object"
            class="org.jboss.portal.core.impl.model.portal.PortalObjectImpl"
  
  
  



More information about the jboss-cvs-commits mailing list