[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-3352) HQL bulk update on JOINED inheritance tree improvement

Donnchadh O Donnabhain (JIRA) noreply at atlassian.com
Wed May 20 10:21:15 EDT 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-3352?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33216#action_33216 ] 

Donnchadh O Donnabhain commented on HHH-3352:
---------------------------------------------

similarly for joined tables (e.g. <join table="my_table"><property ... />...</join> that aren't part of the inheritance hierarchy) where the fields in the joined aren't being updated.


> HQL bulk update on JOINED inheritance tree improvement
> ------------------------------------------------------
>
>                 Key: HHH-3352
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-3352
>             Project: Hibernate Core
>          Issue Type: Improvement
>          Components: query-hql
>    Affects Versions: 3.2.4.sp1
>            Reporter: Anthony Patricio
>            Priority: Minor
>
> Updating of entities in an inheritance hierarchy with the JOINED strategy.
> Trying to update all entities of this hierarchy using a hql statement that affects attributes/columns
> of the base entity only doesn't need the insert into TEMP / Update BASE_TABLE / delete TEMP logic
> Update BASE_TABLE is sufficient and more efficient.

-- 
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