Re: [castor-dev] JDO QueryResults question

2002-01-30 Thread Ping Ding
An order orderLine, any number of orderLines can belong to the same order ------- Ping Ding -Original Message- From: Ned Wolpert [mailto:[EMAIL PROT

Re: [castor-dev] JDO QueryResults question

2002-01-30 Thread Ned Wolpert
Two issues with your mapping file: 1) You have laze="false", it should be lazy="false", or don't include it since that is the default setting. 2) you list the sql many-key in collections. Try this: instead. Does it work? Order definition

Re: [castor-dev] JDO QueryResults question

2002-01-29 Thread Ping Ding
--- Ping Ding -Original Message- From: Ned Wolpert [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 29, 2002 3:03 PM To: [EMAIL PROTECTED] Subject: Re: [castor-dev] JDO QueryResults question Can you inc

Re: [castor-dev] JDO QueryResults question

2002-01-29 Thread Ned Wolpert
Can you include the code sample that shows what you're doing and your mapping file? --- Ping Ding <[EMAIL PROTECTED]> wrote: > Hi, I got a problem about the JDO QueryResults. > I stored two objects of class A and A has a collection field of class B. > I start a new application, select every A ("S

[castor-dev] JDO QueryResults question

2002-01-29 Thread Ping Ding
Hi, I got a problem about the JDO QueryResults. I stored two objects of class A and A has a collection field of class B. I start a new application, select every A ("SELECT a FROM A a" )and print out it. When I do db.commit(), All B belongs to my second A object are removed from the database. It m