How would you configure annotations in the following example code? I\'d like to stick with JPA annotations only and avoid Hibernate specific dependencies. Is the cod
You can use one of the inheritance strategy to to this. Your case looks to be the case of Single class for the hierarchy.
Check this