[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1410) FlushMode.AUTO -> COMMIT when outside a transaction

Steve Ebersole (JIRA) noreply at atlassian.com
Mon Mar 21 13:00:40 EDT 2011


     [ http://opensource.atlassian.com/projects/hibernate/browse/HHH-1410?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steve Ebersole closed HHH-1410.
-------------------------------


Closing stale resolved issues

> FlushMode.AUTO -> COMMIT when outside a transaction
> ---------------------------------------------------
>
>                 Key: HHH-1410
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1410
>             Project: Hibernate Core
>          Issue Type: New Feature
>          Components: core
>            Reporter: Steve Ebersole
>            Assignee: Steve Ebersole
>            Priority: Blocker
>             Fix For: 3.2.0.alpha1
>
>
> When operating outside a transaction, FlushMode.AUTO is a bad thing.
> Two options here:
> 1) no-op the autoFlush processing when outside a transaction
> 2) explicitly manage the Session's FlushMode setting when outside a transaction
> #1 seems more viable, since Session.setFlushMode() might cause problems (or at least extra complexity) with #2

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