[hibernate-issues] [Hibernate-JIRA] Updated: (HHH-5797) Improve batching for entity updates or deletes that use secondary tables
Steve Ebersole (JIRA)
noreply at atlassian.com
Tue Dec 27 12:41:19 EST 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-5797?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole updated HHH-5797:
--------------------------------
Fix Version/s: (was: 4.x)
> 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
>
> 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.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the hibernate-issues
mailing list