I have a table that have 2 foreign keys referencing the same table. This entity is Article
and the 2 foreign keys are author
and editor
, which are entities User
. It shows these 2 fine. But when I edit or create new article and select either author or editor, it sets these 2 same user. When I select a user for either author or editor, it sets this user to instances of both editor and author. I'm using Seam 2.2.0GA. I read somewhere in this forum that I must write a home object for editor or author, so that I can have 2 different home objects for these 2. Do you guys have any idea how to solve this one?
I have this one fixed. I'll submit my changes ASAP.