Skip to Content
Feb 13, 2006 at 11:36 AM

Error in wrting Object to Database



When I go to "persistent.xml-><EJBname>->cmr-field-><fieldName>", on right hand side, in additional information section it shows "ERROR:

The class of this dependent value has no public fields. Because of this it can only be mapped to a single column".

That field is an object of some other class. So, whereever I have any column storing object of some class, I have the same message.

Due to his, its giving deployment error.

"Cannot obtain an appropriate JDBC type for class com.bea.medrec.entities.RecordLocal. To store the field with this class in the database, the class must implement"

Please suggest what could be the solution.