DMapImpl keys must be real entities! that is there must be a table to store
them and a class-descriptor provided.

> -----Original Message-----
> From: Leeuw van der, Tim [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 17, 2003 3:15 PM
> To: '[EMAIL PROTECTED]'
> Cc: 'OJB Users List'
> Subject: RE: DMapImpl
> 
> 
> 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.ClassNotPersistenceCapableExcep
> tion: 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]
> 
> 


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

Reply via email to