Here are two scenarios that this problem might occur:
The converter defined for the primary key is not invoked on its foreign key value.
- During ejbDeploy, you may receive the following message: "No type mapping defined for Java_data_type1 to database_data_type2"
- During execution time, the application may not be able to find the CMP at the other end of the relationship.
A workaround to this limitation is to define your own foreign key and use the same converter defined for its primary key on the EJB at the other end of its relationship.
Return to the main readme file