[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3728) Support naming of generated foreign keys of audit tables

Erik-Berndt Scheper (JIRA) noreply at atlassian.com
Thu Jan 22 05:08:39 EST 2009


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

Erik-Berndt Scheper commented on HHH-3728:
------------------------------------------

It would be nice if envers supported this too, using an annotation such as
@org.hibernate.envers.AuditTableForeignKey(name="FK_NAME")

and

@org.hibernate.envers.AuditJoinTableForeignKey(name="FK_NAME")


> Support naming of generated foreign keys of audit tables
> --------------------------------------------------------
>
>                 Key: HHH-3728
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3728
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: envers
>    Affects Versions: 3.4
>            Reporter: Erik-Berndt Scheper
>            Priority: Minor
>
> Hibernate supports naming of generated foreignkeys using the annotation
> @org.hibernate.annotations.ForeignKey(name = "FK_IGBA_PRSN")

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