Jboss 4.0.5GA generating additional column in the DB table for relationships
posted 10 years ago
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?