on 02-13-2006 11:36 AM
Hi,
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 java.io.Serializable."
Please suggest what could be the solution.
Thanks!
Hi Dhamandheep ,
which is the data type of the field u have created?.
is it your own class type (Custom class).
if u r using your own class as data type , u have to implement java.io.Serializable to that class.
regards
Kishor Gopinathan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I am using a custom Class.
I cannot implement java.io.Serializable to that class.
Because, the error is for <EJB>Local interface.
It says that the class must implement java.io.Serializable. But an interface cannot.
Now, I want to write through CMP beans. But one of the field of the Bean is an Object of some other class. There it is giving problem.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.