emmanuel wrote:
I think this patch can be applied as is to the branch 3.1
http://anonsvn.jboss.org/repos/hibernat ... ntity.javaThe addWorkForEmbeddedValue method is there and has not changed since.
Hi Emmanuel, thank you for the patch. We ended up using hibernate 3.5 and spring 3.0.2 when they became compatible and final shortly after you provided the patch above. However, we can't get hibernate 3.5 to work properly (works fine for everything, all our unit/functional tests pass, but is orders of magnitude slower than 3.3.1 when inserting many entities, rendering it unusable). Rather than waste more time on hibernate 3.5, we have to revert back to hibernate 3.3.1.
So that means I need to use your patch above. Your patch above is for a branch, not a release right? So I have to compile code not yet even in beta status? That's probably going to be an issue for us (hibernate 3.5 is even final and isn't working for us). I could probably use and compile the release code if all I had to do was add an if (id != null). Would that work for the addWorkForEmbeddedValue method in hibernate search 3.1.1?