I am using hbm2java (hibernate3-maven-plugin) in order to generate entities.
How do I switch the auto generated @EmbeddedId to @IdClass?
Thanks
The hibernate maven plugin doesn't do that automatically, you need to update your classes manually if you want to use @IdClass.