[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4493) Support FK formula using named reference and avoiding the @JoinColumnOrFormula container

Paul Benedict (JIRA) noreply at atlassian.com
Fri Oct 16 17:36:41 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4493?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=34221#action_34221 ] 

Paul Benedict commented on HHH-4493:
------------------------------------

JPA 2.0 introduced @MapKeyJoinColumn and @MapKeyJoinColumns, which I think is very similar to what is trying to be done here. There is @JoinColumn(s) for basic columns, @MapKeyJoinColumn(s) when columns key a map, and I propose re-factoring to allow a @FormulaJoinColumn(s) for formulas.

> Support FK formula using named reference and avoiding the @JoinColumnOrFormula container
> ----------------------------------------------------------------------------------------
>
>                 Key: HHH-4493
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4493
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: annotations
>            Reporter: Emmanuel Bernard
>            Priority: Minor
>
> First question, is it desirable? Does the benefit outweight the additional documentation complexity (of two different approaches).

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