[hibernate-issues] [Hibernate-JIRA] Created: (HHH-5797) Improve batching for entity updates or deletes that use secondary tables
Gail Badner (JIRA)
noreply at atlassian.com
Wed Dec 15 15:17:13 EST 2010
Improve batching for entity updates or deletes that use secondary tables
------------------------------------------------------------------------
Key: HHH-5797
URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-5797
Project: Hibernate Core
Issue Type: Improvement
Components: core
Reporter: Gail Badner
Fix For: 4.x
Currently, batching is only used for update/delete statements made to an entity's primary table (subject to other conditions). Batching is not used for update/delete statements on secondary tables.
1) if an entity has *any* secondary tables with optional="true, do not use batching for updating/deleting any of the entity's (primary or secondary) tables
2) if all of an entity's secondary tables are non-optional (e.g. "joined" subclass, all "joined" tables have optional="false"), then use batching for updates/deletes to all (primary and secondary) tables
--
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