Andrew Fitzpatrick wrote:Hi, I just got exactly the same problem and managed to fix it.
The problem is classpath related and to do with the order of jar and class files. To solve right click on the project in Eclipse and select properties, click the Order and Export tab. Now use the buttons on the right hand side to move the java runtime up so that it appears before all library jar files, ensure your project files still precede this library though.
A refresh on the project should see it rebuilt without issue.
E Armitage wrote:https://hibernate.onjira.com/browse/HHH-6911
You're stuck with using single table strategy if you want the discriminator column.
Jeff Verdegan wrote:Inside your class, use the collection normally. But don't expose the raw collection to the outside world. For that, use the unmodifiable collection.