Hi,

I checked out your test project and wondering what the problem is. When I was building it I got a test failure in InvalidBookTest#primeFaces. However, that was a timeout exception caused by @Test(timeout = 10000). Removing the timeout all test passed, admittedly taking a lot of time:

Running fr.ramiere.hibernate.search.ByteArrayBridgeTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 7.315 sec
Running fr.ramiere.hibernate.search.InvalidBookTest
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 158.89 sec
Running fr.ramiere.hibernate.search.ValidBookTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 3.136 sec

Results :

Tests run: 6, Failures: 0, Errors: 0, Skipped: 0

AFAICS the issue is that it just takes such a long time to store the lob data in the db. Most dbs don't even store lobs in the man data table, but in a different file(s) on the file system.

Do you really want to store the byte data in the database? Wouldn't it be better to just keep a path to the file location and let the bridge read the data?

I guess it all comes down to what exactly you want to achieve.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira