[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1096) identity mix up for bulk delete
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Mar 21 13:00:36 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1096?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-1096.
-------------------------------
Closing stale resolved issues
> identity mix up for bulk delete
> -------------------------------
>
> Key: HHH-1096
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1096
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.1 rc2
> Environment: Hibernate 3.1 rc2 , JDK 1.5
> Reporter: Dennis C. Byrne
> Attachments: BulkDeleteTestCase.java
>
>
> Using the attached TestCase and the CA model distributed w/ H3, I use the following two HQL statements:
> " DELETE FROM " + AuctionItem.class.getName() + " WHERE seller.id = 1 "
> " DELETE FROM " + AuctionItem.class.getName() + " WHERE id = 1 "
> Note the same statements in the logging below ...
> [junit] Oct 25, 2005 6:26:14 PM org.foo.BulkDeleteTestCase testBulkDelete
> [junit] INFO: look @ this
> [junit] Hibernate: delete from AuctionItem where id=1
> [junit] Hibernate: delete from AuctionItem where id=1
> [junit] Oct 25, 2005 6:26:14 PM org.foo.BulkDeleteTestCase testBulkDelete
> [junit] INFO: did you see that ?
--
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