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

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/instance 
                        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.8.4.3   +7 -7      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.8.4.2
  retrieving revision 1.8.4.3
  diff -u -b -r1.8.4.2 -r1.8.4.3
  --- domain.hbm.xml	9 Mar 2006 00:30:02 -0000	1.8.4.2
  +++ domain.hbm.xml	15 Jul 2006 09:05:51 -0000	1.8.4.3
  @@ -15,14 +15,14 @@
         </id>
         <property
            name="instanceId"
  +         column="ID"
            not-null="true"
  -         unique="true"
  -         column="ID"/>
  +         unique="true"/>
         <property
            name="componentRef"
  +         column="COMPONENT_REF"
            not-null="false"
  -         unique="false"
  -         column="COMPONENT_REF"/>
  +         unique="false"/>
         <map
            name="preferencesMap"
            sort="unsorted"
  @@ -65,16 +65,16 @@
          </array>
          <property
             name="name"
  +          column="NAME"
             type="java.lang.String"
             update="false"
             insert="true"
  -          column="NAME"
             not-null="false"/>
          <property
             name="type"
  +          column="TYPE"
             type="int"
             update="true"
  -          insert="true"
  -          column="TYPE"/>
  +          insert="true"/>
      </class>
   </hibernate-mapping>
  
  
  



More information about the jboss-cvs-commits mailing list