Drat, was worth a try

OK, at least you are approaching it the right way. I'm not sure what else could be happening. Last suggestion is to trace your SQL very carefully and see what is being outputted from Hibernate.

Anyway, Happy New Year!

Ken