| so after fighting with this a bit i decides to try to upgrade from 4.3 to 5.0. 5.x complained about a BUNCH of stuff, i have to add a bunch of @Table and @AuditTable annoations, I have to fix Generator.AUTO for MySql, implement a PhysicalNamingStrategy to deal with underscore vs camel case. and probably something else i'm forgetting at this point. i looked for an upgrade guideling, breaking changes, etc... docs and didn't see anything that covered this issues. but while making all these changes it become a bit more clear what wasn't right. it's the fact that springs AbstractPersistable as an @Id in it. I my subclass had @Id and @IdClass and I was using @Embedded in my PK class. so yeah, this do NOT work in 5.x. Once I created a new superclass to deal with composite keys I was all good. so i'm not sure how much of this is a bug vs bad docs and or error messages. if there are docs that cover this they aren't not quick to find via google. |