This week's book giveaway is in the OCPJP forum. We're giving away four copies of OCA/OCP Java SE 7 Programmer I & II Study Guide and have Kathy Sierra & Bert Bates on-line! See this thread for details.
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?