As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 9 years ago.
Tag: inheritance
Is it possible to add JPA annotation to superclass instance variables?
I am creating entities that are the same for two different tables. In order do table mappings etc. different for the two entities but only have the rest of the code in one place – an abstract superclass. The best thing would be to be able to annotate generic stuff such as column names (since the will be identical) in