[hibernate-issues] [Hibernate-JIRA] Closed: (HHH-1508) Session.createQuery() should not flush the session

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


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

Steve Ebersole closed HHH-1508.
-------------------------------


Closing stale resolved issues

> Session.createQuery() should not flush the session
> --------------------------------------------------
>
>                 Key: HHH-1508
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HHH-1508
>             Project: Hibernate Core
>          Issue Type: Bug
>          Components: core
>    Affects Versions: 3.1.2
>            Reporter: Koda Janh
>            Assignee: Steve Ebersole
>             Fix For: 3.2.0.alpha1, 3.1.3
>
>
> Hi,
> I asked about this issue on the user forum but got no replies: http://forum.hibernate.org/viewtopic.php?t=955678
> I believe there might be a bug in Session.createQuery() in that it should not be flushing the session. I believe we only need to flush when Query.list() is invoked. Can you please clarify whether the current behavior is a bug or not and why?

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