I have recently tried to upgrade to hibernate-core 4.3.0 and also hibernate-search 4.5 (including Alpha2). I don't have any compilation issues however, the mass-indexing utility wrapper we have that has worked since the MassIndexer was introduced is having un-released database resource issues. I am just putting this out there to see anyone else has encountered issues with recently 4.5 release.
Specifically, I can't index more than approx 25 entities without running out of Oracle open cursors.
I don't have a working example to share at this time by my general pseudo code hasn't changed and is roughly this...
Code:
massIndexer = fullTextSession.createIndexer( Item.class );
massIndexer.batchSizeToLoadObjects(25)
.cacheMode(CacheMode.IGNORE)
.threadsToLoadObjects(4)
.threadsForSubsequentFetching(4)
.limitIndexedObjectsTo(25) // have to do this to not encounter a fatal exception
.startAndWait();
I have numerous bridges but have tried without them. Using very simple c3p0 pooling (and have not tried without it). I have only tried this against Oracle -- if *maybe* it would operate different under Postgres, I could probably try it.
Just seems like statements, connections, etc... related to hibernate session and/or database connections aren't been released anymore.
Thanks,
Brad