[
http://opensource.atlassian.com/projects/hibernate/browse/ANN-544?page=co...
]
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....
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira