2 Replies Latest reply on Jul 15, 2010 3:19 AM by Ganzorig Bayaraa

    Multiple foreign keys don't work

    Ganzorig Bayaraa Newbie

      Guys, I'm having a little problem with persistence. I'm using mysql and seam 2.2.GA, JBoss 5.1 AS. As for the tool, I'm using JBoss Tools (Eclipse). I have 5 tables in database. The table with 1 foreign key runs okay when generated into class. But the instance of the class generated from database (mysql), which has 3 foreign keys to the other 3 tables, it fails at runtime. How should I solve this problem? Guys, give me your precious advice? This would do me a much favor.