If you have a "1" table that is 1:M with two tables, how do you represent that in JPA @OneToMany Annotation?
If I try to have two @OneToMany annotations in my "1" side
Java class, I get an duplicate annotation error.
So, what I'm asking is that if you have some type of, say, "ID" (from the 1 table) that can appear multiple times in two (different) tables, how do you represent this with a single @OneToMany annotation on the "1" side?
Thanks in advance for any suggestions!
- Mike