[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-437) Review the code example in the documentation regarding transaction usage

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Jan 4 07:43:30 EST 2010


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=35067#action_35067 ] 

Emmanuel Bernard commented on HSEARCH-437:
------------------------------------------

We should fix the Hibernate limitation rather than force a rather unintuitive behavior on users.

> Review the code example in the documentation regarding transaction usage
> ------------------------------------------------------------------------
>
>                 Key: HSEARCH-437
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-437
>             Project: Hibernate Search
>          Issue Type: Improvement
>          Components: documentation
>    Affects Versions: 3.2.0.Beta1
>            Reporter: Hardy Ferentschik
>            Assignee: Emmanuel Bernard
>             Fix For: 3.2.0.Beta2
>
>
> See [https://forum.hibernate.org/viewtopic.php?f=9&t=998336]
> It might be enough to add a note/warning somewhere in the documentation regarding the use ThreadLocalSessionContext. 
> Or maybe the code examples should all consistently open a transaction before getting the fulltext session. 

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