Re: Annotation of Arraylist myList;

2008-04-20 Thread Lars Vogel
Hi Catatina, thank you. Best regards, Lars 2008/4/15, catalina wei <[EMAIL PROTECTED]>: > > Hi Lars, > See my comment below > > > On 4/13/08, Lars Vogel <[EMAIL PROTECTED]> wrote: > > > > Hi Catalina, > > > > is it correct that this will be serialized as a BLOB? > > > > I think it means that ins

Re: Annotation of Arraylist myList;

2008-04-14 Thread catalina wei
Hi Lars, See my comment below On 4/13/08, Lars Vogel <[EMAIL PROTECTED]> wrote: > > Hi Catalina, > > is it correct that this will be serialized as a BLOB? I think it means that instances of datamodel.impl.Person when serialized, the field nickNameList will be serialized as a BLOB. > > I receiv

Re: Annotation of Arraylist myList;

2008-04-13 Thread Lars Vogel
Hi Catalina, is it correct that this will be serialized as a BLOB? I receive the message: 1469 people WARN [main] openjpa.MetaData - OpenJPA cannot map field "datamodel.impl.Person.nickNameList" efficiently. It is of an unsupported type. The field value will be serialized to a BLOB by default

Re: Annotation of Arraylist myList;

2008-04-13 Thread Lars Vogel
Hi Janko, thank you very much. Best regards, Lars 2008/4/12, Janko Heilgeist <[EMAIL PROTECTED]>: > > catalina wei wrote: > > > Hi Lars, > > The feature you are looking for has been addressed in the draft of JPA > > 2.0 > > spec Section 2.1.5 Collections of Embeddable Classes and Basic Types. >

Re: Annotation of Arraylist myList;

2008-04-13 Thread Lars Vogel
Hi Catalina, thank you very much for your quick and helpful answer. Best regards, Lars 2008/4/13, catalina wei <[EMAIL PROTECTED]>: > > Hi Lars, > Want to correct my previous email. > OpenJPA does have this feature implemented already, an example can be > found > in > > org.apache.openjpa.persist

Re: Annotation of Arraylist myList;

2008-04-12 Thread catalina wei
Hi Lars, Want to correct my previous email. OpenJPA does have this feature implemented already, an example can be found in org.apache.openjpa.persistence.annotations.common.apps.annotApp.annotype.OrderByEntity: @PersistentCollection @OrderBy private List strings = new ArrayList(); If y

Re: Annotation of Arraylist myList;

2008-04-12 Thread Janko Heilgeist
catalina wei wrote: Hi Lars, The feature you are looking for has been addressed in the draft of JPA 2.0 spec Section 2.1.5 Collections of Embeddable Classes and Basic Types. I don't think we have this feature implemented in the current OpenJPA releases. Catalina On 4/11/08, Lars Vogel <[EMAIL

Re: Annotation of Arraylist myList;

2008-04-11 Thread catalina wei
Hi Lars, The feature you are looking for has been addressed in the draft of JPA 2.0 spec Section 2.1.5 Collections of Embeddable Classes and Basic Types. I don't think we have this feature implemented in the current OpenJPA releases. Catalina On 4/11/08, Lars Vogel <[EMAIL PROTECTED]> wrote: > >

Annotation of Arraylist myList;

2008-04-11 Thread Lars Vogel
Hello, I would like to persist a object which contains a list of primitives (Strings). It is possible or can JPA only store real objects? I tried it an received an error. Best regards, Lars