Hibernate mapping, on a unmapped class
Posted
by Jan
on Stack Overflow
See other posts from Stack Overflow
or by Jan
Published on 2010-03-19T09:40:17Z
Indexed on
2010/03/19
9:41 UTC
Read the original article
Hit count: 368
Hi,
I' ve got 2 tables... Challenge and ChallengeYear, ChallengeYear is only to create a list of years in challenge.
I only want to make Challenge an entity, containing a list of List years. Is this possible?
I've looked in to @SecondaryTable together with @JoinColumn and @OneToMany, but neither of those can do the trick, or i am overlooking something.
Can someone help me?
Greetings, Jan
© Stack Overflow or respective owner