For the use case that I sent in my last comment, what should Hibernate do? if you think that having both functions should be supported by Hibernate (it does with Java 6), I'll try to make some test files.