Thanks for the reproducers, in the original description I think I overlooked the fact that the inheriting class is package protected. I can now reproduce both issues, and indeed they appear to be a bug in Hibernate, potentially related to bytecode enhancement. |