[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-4245) Foreign key name on @OneToOne
Laura Dean (JIRA)
noreply at atlassian.com
Mon Aug 1 12:28:03 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-4245?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=43149#comment-43149 ]
Laura Dean commented on HHH-4245:
---------------------------------
Note that this issue refers to the case of using @PrimaryKeyJoinColumn with the @OneToOne. (Now it should show up in searches.)
> Foreign key name on @OneToOne
> -----------------------------
>
> Key: HHH-4245
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-4245
> Project: Hibernate Core
> Issue Type: Bug
> Components: annotations
> Environment: Hibernate Core 3.2.5.GA , Hibernate Annotations 3.3.0.GA, Sybase ASE 15
> Reporter: Immo Heikkinen
> Priority: Minor
> Attachments: Child.java, Parent.java
>
>
> Foreign key constraint name cannot be changed using @org.hibernate.annotations.ForeignKey on a @OneToOne with foreign key. It doesn't matter which class is annotated with @ForeignKey. Please find the test case as an attachment.
> Original thread on the user forum: http://forum.hibernate.org/viewtopic.php?p=2367400
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list