[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-30) @OnDelete

Erel Magnus (JIRA) noreply at atlassian.com
Fri Apr 17 06:30:17 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/ANN-30?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32909#action_32909 ] 

Erel Magnus commented on ANN-30:
--------------------------------

Hi All,

1. Can this behaviour be configured globally? Otherwise we are talking about changing alot of code to make this useful feature work.
2. What about schema validation and schema update ? If the annotation is set does it cause schema validation to fail until the foreign keys are recreated? Does schem update know how  to recreate the foreign key?

Regards,

Erel

> @OnDelete
> ---------
>
>                 Key: ANN-30
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-30
>             Project: Hibernate Annotations
>          Issue Type: Improvement
>          Components: binder
>    Affects Versions: 3.1beta3
>            Reporter: Emmanuel Bernard
>            Assignee: Emmanuel Bernard
>            Priority: Trivial
>         Attachments: Collection.java.diff
>
>
> @OnDelete(type=OnDeleteType.NOACTION)
> OnDeleteType.CASCADE
> used on an indexed collection

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