From: <leg...@at...> - 2003-09-24 11:27:28
|
The following comment has been added to this issue: Author: jason zhang Created: Wed, 24 Sep 2003 1:09 AM Body: Could you nicely make your performance test coding available for me? I think I could learn somethinge from your performance testing code. My email is jas...@ya... Help is appreciated. jason --------------------------------------------------------------------- View the issue: http://opensource.atlassian.com/projects/hibernate/secure/ViewIssue.jspa?key=HB-355 Here is an overview of the issue: --------------------------------------------------------------------- Key: HB-355 Summary: only save the explicitly mentioned object during flush Type: New Feature Status: Closed Priority: Major Resolution: REJECTED Project: Hibernate2 Components: core Versions: 2.0.2 Assignee: Reporter: jason zhang Created: Tue, 23 Sep 2003 4:31 AM Updated: Tue, 23 Sep 2003 9:44 AM Description: When the session is commit, hibernate does a dirty check on every object in the session cache. Although it is claimed that the dirty check is effecient, it costs more than 1 second somtime to dirty check 600 objects in session in my system. I tried various of performance tuning, but no luck. I'd rather to see the dirty check behavior can be turned on or off through a configuration parameter or session attribute. For example, if I set the hibernate.dirtyCheck=false in hibernate.cfg.xml, the hibernate would not check the objects in session cache, but only perform persistence for the objects which user metioned explicitly through session.save(), session.update(), session.saveOrUpdate() and session.delete(), and the objects that are cascaded from these objects. If given appropriate instruction/direction, I would like to implement this feature. jason --------------------------------------------------------------------- JIRA INFORMATION: 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 If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira |