Sorry, it's the key of the map which can't be a java type.
So what is the solution ? I can't find nothing about DMapImpl in the tutorial.


Selon "[EMAIL PROTECTED]" <[EMAIL PROTECTED]>:

> Hello,
> 
> I'm trying to use the DMapImpl class to store java Map objects, but this
> exception is thrown :
> 
> org.apache.ojb.broker.metadata.ClassNotPersistenceCapableException: Could
> not
> init Identity for given object class java.lang.String: java.lang.String not
> found in OJB Repository
> 
> Does this mean I can't store String objects as Map values ? Must I extend
> the
> String class to add an identifier ? Isn't there any other solution ?
> 
> Regards,
> Cedric
> 
> -- 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 


-- 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to