[hibernate-issues] [Hibernate-JIRA] Commented: (ANN-544) @SqlDeleteAll wrt to Collections
Eugene M. Hutorny (JIRA)
noreply at atlassian.com
Thu Oct 11 09:59:39 EDT 2007
[ http://opensource.atlassian.com/projects/hibernate/browse/ANN-544?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_28404 ]
Eugene M. Hutorny commented on ANN-544:
---------------------------------------
Is there any workaround for this issue?
In our case this problem appears only when deleting the last item in the collection. All others are deleted very well with custom SQLDelete.
Can we disable use of SQLDeleteAll and force Hibernate to use SQLDelete instead?
> @SqlDeleteAll wrt to Collections
> --------------------------------
>
> Key: ANN-544
> URL: http://opensource.atlassian.com/projects/hibernate/browse/ANN-544
> Project: Hibernate Annotations
> Issue Type: Bug
> Components: binder
> Affects Versions: 3.2.1
> Environment: 3.2.1GA - MSSQL ( but irrelivant )
> Reporter: Thomas Kubicek
> Assignee: Emmanuel Bernard
> Fix For: 3.3.0.ga
>
> Original Estimate: 2 minutes
> Remaining Estimate: 2 minutes
>
> Hibernate Annotations for @SqlDeleteAll when applied to Collections
> CollectionBinder is not assigning the sql statement to the "setCustomSQLDeleteAll" but rather the "setCustomSQLDelete"
> CollectionBinder.java line 361-370.
> this prevents the execution of col.clear() method on the collection where all elements are removed.
--
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