[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-178) Out of transaction work causes collection lazy loading to throw AssertionFailure
Stephane Epardaud (JIRA)
noreply at atlassian.com
Fri May 29 08:36:15 EDT 2009
[ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-178?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=33285#action_33285 ]
Stephane Epardaud commented on HSEARCH-178:
-------------------------------------------
OK, I just disable this batchSize then.
Putaiiiinnnn... je pourrais t'embrasser Emmanuel!
I started without flushToIndexes which is why I had batchSize, then I backported flushToIndexes, knew the batchSize was the problem, and never figured out I could just remove batchSize now I had flushToIndexes.
Thanks a bundle Emmanuel and Sanne.
I will now admit my problem was related entirely to batchSize being used, which doesn't work with flush().
PS: now I get a LazyLoadException after 2600 records inserted, not one before, but this time I'm starting to suspect transaction timeouts since it's after 5 minutes...
> 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