|
Our web application sets multiple thread locals on every http request. Some of the thread locals are used by mapped entities when they get loaded by hibernate. On initial reindexing we use massindexer. Massindexer creates multiple threads to do the job. Because the http request thread locals are not set massindexing fails when entities are loaded because the thread locals are not accessible by massindexer threads.
It would be great to have some extension point on massindexer thread creation to set thread locals.
Thomas
|