[JBoss-user] [Persistence & CMP/JBoss] - CMP storing serialized object in relation instead of integer

2004-06-29 Thread amarpatel
Please advise on the following issues described below: 1. no ejb-relationship-role-name defined error. 2. serialized UserType being stored in RDBMS table users, instead of foreign key integer. I have 2 entities: User and UserType. The relationship between the User entity and UserType etity is a

[JBoss-user] [Beginners Corner] - CMP 2.0 EJB relationship problem

2004-06-28 Thread amarpatel
The relationship between the User entity and UserType etity is as follows: 1 User can only have 1 UserType, but 1 UserType can belong to many Users. Furthermore, User maintains a reference to UserType, but UserType does not have a reference to User. So in ejb-jar.xml, we have defined the one-to-m