Re: Composite entity model

2010-11-09 Thread Andrus Adamchik
On Nov 9, 2010, at 8:15 PM, Marek Šabo wrote: > > @Andrus: what you have in mind is new implementation of JAXB or just some > sort of marshalling support for CDOs? JAXB, although I don't see myself doing it in the nearest future. Andrus

Re: Composite entity model

2010-11-09 Thread Marek Šabo
Hi, thanks, that looks good, I'll check it out later today. @Andrus: what you have in mind is new implementation of JAXB or just some sort of marshalling support for CDOs? Regards, -- Marek Šabo On 11/09/2010 11:32 PM, Andrus Adamchik wrote: Hi Malcolm, thanks! I guess that can be used a

Re: Using query results on relatioships

2010-11-09 Thread Aristedes Maniatis
http://cayenne.apache.org/doc/prefetching.html On 10/11/10 11:38 AM, Bruno René Santos wrote: Hello all, I have a doubt about performance on cayenne (or probably ORM's in general...). Imagine a table B that has a foreign key to table A and also a foreign key to table C. You have a query that r

Using query results on relatioships

2010-11-09 Thread Bruno René Santos
Hello all, I have a doubt about performance on cayenne (or probably ORM's in general...). Imagine a table B that has a foreign key to table A and also a foreign key to table C. You have a query that returns 1000 A's to a form where you have a table that shows all B's that belong to A. Also on each

Re: Composite entity model

2010-11-09 Thread Andrus Adamchik
Hi Malcolm, thanks! I guess that can be used as a basis for a JAXB marshaller implementation. (BTW, I received the attachment in a copy of a message that was sent to my bypassing the list and it was stripped from the list message). Andrus On Nov 9, 2010, at 5:14 PM, Malcolm Edgar wrote: >

Re: Composite entity model

2010-11-09 Thread Malcolm Edgar
Hi Guys, Please take a look at the attached code which marshalls between ValueObject (POJO) and CDO. regards Malcolm Edgar On Wed, Nov 10, 2010 at 7:26 AM, Andrus Adamchik wrote: > I wish somebody just wrote a marshaller for CDO. One day I may do it if > nobody beats me on it. > > Andrus > > On

Re: Composite entity model

2010-11-09 Thread Andrus Adamchik
I wish somebody just wrote a marshaller for CDO. One day I may do it if nobody beats me on it. Andrus On Nov 7, 2010, at 7:37 PM, Marek Šabo wrote: > Hi all, > > Would it be possible to generate entities not as children of > CayenneDataobject but as self composite objects with a CDO field? I'