Add it to the SearchConfiguration
On 11 juil. 2011, at 16:38, Sanne Grinovero wrote:
ISPN-1218 is about users complaining that the embedded Hibernate
Search is logging warnings about being used out of transaction.
I'm not sure if we should really mandate this to be running
transaction in the context of Infinispan.
I think that there might be valid use cases in the case of
Infinispan/Query in which there is no transaction; this warning was
added because otherwise when running in the context of Hibernate we
might be loading collections during flush, and a "pre-flush" listener
was created to work around this case, but this doesn't apply to
So my idea was to add an "spi-level" configuration property which
would disable this warning. Any better ideas? Or would it be a better
idea to make sure it's bound to the TM in that case too?
hibernate-dev mailing list