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
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