2 Replies Latest reply on Apr 6, 2007 2:20 PM by Abhinav Nigam

    JBoss generating a column for relationships in the DB table

    Abhinav Nigam Newbie


      Hi All

      I was trying to implement EJB3 using Jboss 4.0.5GA.

      While deploying the entity beans it creates an additional column in the DB table with the name of the relationship object. e.g. if User is related to UserDetail, it creates a userDetail column in the User table as RAW(255).

      Coz the length of the user object is more than 255 it aborts the transaction.
      I increased the size of the column to maximum, then it does not insert the record in the Userdetail table.

      What is the concept of the additional column. please suggest. Why Jboss is not using the FKs?

      Thanks in Advance
      Abhinav