[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-920) CLONE -Session.isDirty() flushes data
Steve Ebersole (JIRA)
noreply at atlassian.com
Mon Mar 21 13:01:01 EDT 2011
[ http://opensource.atlassian.com/projects/hibernate/browse/HHH-920?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Steve Ebersole closed HHH-920.
------------------------------
Closing stale resolved issues
> CLONE -Session.isDirty() flushes data
> -------------------------------------
>
> Key: HHH-920
> URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-920
> Project: Hibernate Core
> Issue Type: Bug
> Components: core
> Affects Versions: 3.0 final
> Reporter: Lenny Marks
>
> When calling Session.isDirty() (Hibernate 3.0.0, non-classic) it looks like DefaultDirtyCheckEventListener performs actual flush. I'm not sure is this an intended behaviour. In fact, javadoc for Session.isDirty() says that it should only check are there any pending changed and would database update happen on Session.flush(). Please advise.
--
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