[hibernate-issues] [Hibernate-JIRA] Commented: (HHH-2093) PERSIST_ON_FLUSH ineffective for recursive object graphs

Max Rydahl Andersen (JIRA) noreply at atlassian.com
Thu Sep 21 21:58:24 EDT 2006


    [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-2093?page=comments#action_24589 ] 

Max Rydahl Andersen commented on HHH-2093:
------------------------------------------

Applied to SVN in both trunk and H3.2

Testsuite seam to pass.

Awaiting Emmanuel verifying the fix against the TCK.

If this fix holds water then general flush time will improve *greatly*.

In the minimum test (2 objects with 2 bidirectional assocations) 25% less cascading

In the worst test (955 objects with  500+ bidirectional associations)  12  vs 0,7 second

> PERSIST_ON_FLUSH ineffective for recursive object graphs
> --------------------------------------------------------
>
>          Key: HHH-2093
>          URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-2093
>      Project: Hibernate3
>         Type: Improvement

>   Components: core
>     Versions: 3.2.0.cr4
>     Reporter: Max Rydahl Andersen
>     Assignee: Max Rydahl Andersen
>  Attachments: persistonflushpatch.txt
>
>
> cascade for PERSIST_ON_FLUSH does not keep track on what cascades have already been performed.
> Resulting in a big performance penalty for graphs that has recursive associations since every association will result in a "full go-deep" cascade.

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