I've got two database entities: Forum and Topic.
Topic has protected long forumId data member, which indicates of course the Topic's forum.
My question is what annotation to use for this data member?
I've got two database entities: Forum and Topic.
Topic has protected long forumId data member, which indicates of course the Topic's forum.
My question is what annotation to use for this data member?