[jboss-user] [EJB 3.0] - JBoss generating a column for relationships in the DB table

abhinav19 do-not-reply at jboss.com
Fri Apr 6 10:51:28 EDT 2007


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

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4035347#4035347

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4035347



More information about the jboss-user mailing list