Hi Cedric,

Did you ever get an answer to this question? Can the key for a DMapImpl
indeed not be a plain java.lang.String instance??
Or is it something in the repository.xml that would need to be specified?

Regards,

--Tim

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: donderdag 12 juni 2003 10:43
To: OJB Users List
Subject: Re: DMapImpl


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]

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

Reply via email to