Re: FW: FW: FW: Cannot retrieve back just saved objects without committing transaction

2004-01-22 Thread ZZZ Liu
Thanks a lot. I will try later. Zhe > > > -Original Message- > From: Armin Waibel [mailto:[EMAIL PROTECTED] > Sent: Wednesday, January 21, 2004 12:38 AM > To: OJB Users List > Subject: Re: FW: FW: Cannot retrieve back just saved > objects without > committing

Re: FW: FW: Cannot retrieve back just saved objects without committing transaction

2004-01-21 Thread Armin Waibel
CTED] Sent: Sunday, January 18, 2004 8:57 AM To: OJB Users List Subject: Re: FW: Cannot retrieve back just saved objects without committing transaction Hi Zhe, I add your test case to test suite and fix the problem in CVS head. It will be included in upcoming 1.0. You can easy fix it by changing o

Re: FW: FW: Cannot retrieve back just saved objects without committing transaction

2004-01-21 Thread ZZZ Liu
or the OJB batch mode implementation? Thanks, Zhe > -Original Message- > From: Armin Waibel [mailto:[EMAIL PROTECTED] > Sent: Sunday, January 18, 2004 8:57 AM > To: OJB Users List > Subject: Re: FW: Cannot retrieve back just saved > objects without > committing transac

Re: FW: Cannot retrieve back just saved objects without committing transaction

2004-01-18 Thread Armin Waibel
[mailto:[EMAIL PROTECTED] Sent: Friday, January 16, 2004 12:53 AM To: OJB Users List Subject: Re: FW: Cannot retrieve back just saved objects without committing transaction Hi Zhe, ZZZ Liu wrote: Hi, Armin Thanks a lot for your reply. I am using PB-api and the batch mode is turned on (in r

Re: Cannot retrieve back just saved objects without committing transaction

2004-01-17 Thread Brian McCallister
On Jan 15, 2004, at 5:24 AM, Armin Waibel wrote: The ODMG-api is different, it collects all changes till commit is called. To write changes to DB while the tx is running, you have to call proprietary TransactionExt#flush() method. Or checkpoint the transaction. -Brian ---

RE: FW: Cannot retrieve back just saved objects without committing transaction

2004-01-17 Thread ZZZ Liu
Are you sure that you always use the same PB instance? What's the environment - servlet, stand-alone, managed-environment? Can you post your sample code? regards, Armin > Thanks, > Zhe > > >> >>-----Original Message- >>From: Armin Waibel [mailto:[EMAIL P

Re: FW: Cannot retrieve back just saved objects without committing transaction

2004-01-16 Thread Armin Waibel
vironment? Can you post your sample code? regards, Armin Thanks, Zhe -Original Message- From: Armin Waibel [mailto:[EMAIL PROTECTED] Sent: Thursday, January 15, 2004 2:25 AM To: OJB Users List Subject: Re: Cannot retrieve back just saved objects without committing transaction Hi Zhe, ZZZ L

Re: FW: Cannot retrieve back just saved objects without committing transaction

2004-01-16 Thread ZZZ Liu
t; To: OJB Users List > Subject: Re: Cannot retrieve back just saved objects > without committing > transaction > > > Hi Zhe, > > ZZZ Liu wrote: > > Hi, all > > > > I have a problem when I try to insert an object in > a > > data base table and t

Re: Cannot retrieve back just saved objects without committing transaction

2004-01-15 Thread Armin Waibel
Hi Zhe, ZZZ Liu wrote: Hi, all I have a problem when I try to insert an object in a data base table and then try to retrieve all records from that table. I use the same persistence broker for the above two operations. I found that if I don't commit the transaction after save, the retrieved record

Cannot retrieve back just saved objects without committing transaction

2004-01-15 Thread ZZZ Liu
Hi, all I have a problem when I try to insert an object in a data base table and then try to retrieve all records from that table. I use the same persistence broker for the above two operations. I found that if I don't commit the transaction after save, the retrieved records won't include the new