[hibernate-issues] [Hibernate-JIRA] Created: (HHH-3997) Allow embeddable classes to have prefix

Ricardo Mayerhofer (JIRA) noreply at atlassian.com
Fri Jun 26 13:12:54 EDT 2009


Allow embeddable classes to have prefix
---------------------------------------

                 Key: HHH-3997
                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3997
             Project: Hibernate Core
          Issue Type: New Feature
            Reporter: Ricardo Mayerhofer


Some times when using embedded classes, some of these classes have attributes with the same name. E.g.:

Customer{
   Address address;
   Document document;
}

Address{
    String number;
}

Document{
   String number;
}

This raises the following error: column: number (should be mapped with insert="false" update="false"). If we could specify a prefix for the embeddable class, the field in database would be much clear (address_number instead of number), and would solve this kind of issue.

Thanks for considering.


-- 
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