[hibernate-issues] [Hibernate-JIRA] Created: (HHH-2164) Minor bug in section "20.1.1. Customizing the schema"

Andres Gonzalez (JIRA) noreply at atlassian.com
Fri Oct 20 05:31:05 EDT 2006


Minor bug in section "20.1.1. Customizing the schema"
-----------------------------------------------------

         Key: HHH-2164
         URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2164
     Project: Hibernate3
        Type: Bug

  Components: documentation  
    Versions: 3.2.0.ga    
    Reporter: Andres Gonzalez


Where it says:

*******************************************************************************************************************************
 A unique-key attribute may be used to group columns in a single unique key constraint. Currently, the specified value of the unique-key attribute is not used to name the constraint in the generated DDL, only to group the columns in the mapping file.

<many-to-one name="org" column="orgId" unique-key="OrgEmployeeId"/>
<property name="employeeId" unique-key="OrgEmployee"/>
*******************************************************************************************************************************

i think the unique-key attributes should jave both the same value ("OrgEmployee", for example)


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira




More information about the hibernate-issues mailing list