EJB tools - release notes


1.0 Limitations
   1.1 Converters defined on primary key does not get invoked on the foreign key

1.0 Limitations

1.1 Converters defined on primary key does not get invoked on the foreign key

Here are two scenarios that this problem might occur:

  1. During ejbDeploy, you may receive the following message: "No type mapping defined for Java_data_type1 to database_data_type2"
  2. During execution time, the application may not be able to find the CMP at the other end of the relationship.
The converter defined for the primary key is not invoked on its foreign key value.

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