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