[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-178) Out of transaction work causes collection lazy loading to throw AssertionFailure

Emmanuel Bernard (JIRA) noreply at atlassian.com
Fri May 29 07:51:14 EDT 2009


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

Emmanuel Bernard commented on HSEARCH-178:
------------------------------------------

ahh ok yes batchSize was a broken concept.

In batch indexing, you would have batchSize=0 (deprecated really), then do flush(); flushToIndexes() on a regular basis.

> Out of transaction work causes collection lazy loading to throw AssertionFailure
> --------------------------------------------------------------------------------
>
>                 Key: HSEARCH-178
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-178
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: engine
>    Affects Versions: 3.1.0.GA
>         Environment: http://forum.hibernate.org/viewtopic.php?p=2381840
>            Reporter: Emmanuel Bernard
>            Assignee: Sanne Grinovero
>             Fix For: 3.1.1, 3.2.0
>
>         Attachments: TestCase-HSEARCH-178.patch
>
>


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