Return-Path: Delivered-To: apmail-db-ojb-dev-archive@db.apache.org Received: (qmail 63695 invoked by uid 500); 29 Jul 2003 13:30:02 -0000 Mailing-List: contact ojb-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "OJB Developers List" Reply-To: "OJB Developers List" Delivered-To: mailing list ojb-dev@db.apache.org Received: (qmail 63675 invoked from network); 29 Jul 2003 13:30:01 -0000 Received: from mailout05.sul.t-online.com (194.25.134.82) by daedalus.apache.org with SMTP; 29 Jul 2003 13:30:01 -0000 Received: from fwd08.aul.t-online.de by mailout05.sul.t-online.com with smtp id 19hUYE-0000Ue-04; Tue, 29 Jul 2003 15:30:02 +0200 Received: from win (XjevSBZZZeh4pWVyGuv2B3vOhUZSqw1xFWhwwvuHLUHRuZDrg0cur4@[80.145.83.108]) by fmrl08.sul.t-online.com with smtp id 19hUXt-0xz8TI0; Tue, 29 Jul 2003 15:29:41 +0200 Message-ID: <00ef01c355d5$740474f0$6479fea9@win> Reply-To: "Armin Waibel" From: "Armin Waibel" To: "OJB Developers List" References: <6FB083FB72EFD21181D30004AC4CA18A01C8F8B1@srv002> Subject: Re: checkpoint problem Date: Tue, 29 Jul 2003 15:29:35 +0200 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Seen: false X-ID: XjevSBZZZeh4pWVyGuv2B3vOhUZSqw1xFWhwwvuHLUHRuZDrg0cur4@t-dialin.net X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Hi again, ----- Original Message ----- From: "Charles Anthony" To: "'OJB Developers List'" Sent: Tuesday, July 29, 2003 3:18 PM Subject: RE: checkpoint problem > Hi, > > I think "Splendid Idea". It did cross my mind earlier, but I thought "no, > keep quiet for now". > So +1 from me. so, I will start working ... Thanks! regards, Armin > Cheers, > > Charles > > >-----Original Message----- > >From: Armin Waibel [mailto:armin@code-au-lait.de] > >Sent: 29 July 2003 14:17 > >To: OJB Developers List > >Subject: Re: checkpoint problem > > > > > >Hi all, > > > >> [..Snip..] > >> > >> >> I suspect that a cast-to-get-alternate-behaviour is the right way > >> >>forward. > >> > > >> >+1 > >> > > >> >>Which way should be the default way ? That depends on what other > >> >>peoples assumptions of what the correct behaviour is. Probably, the > >old > >> >>behaviour isin correct and therefore the old behaviour should be > >"hidden" > >> >>behind a cast. > >> > > >> >+1, name of the new "hidden" method? > >> > >> How about flush : > >> > >> /** Calling flush flushes persistent object > >modifications > >> * made within the ODMG transaction since the last checkpoint to the > >> underlying database > >> * transaction, but does not commit the database transaction. The > >ODMG > >> transaction > >> * retains all locks it held on those objects at the time the flush > >was > >> invoked.
> >> * flush is very similair to checkpoint, save that > >checkpoint > >> * does commit the database transaction.

> >> * Note : this method is not part of the ODMG Transaction > >interface. > >> */ > >> public void flush(){ > >> ... > >> } > > > >I want to introduce a new interface merge all > >proprietary public methods used in TransactionImpl > >class. > > > >public interface TransactionExt extends Transaction, HasBroker > >{ > >public void markDelete(Object anObject); > >public void markDirty(Object anObject); > >public void flush(); > >} > > > >Better cast to interface, because in future we will > >replace current implementation by a new one using > >OTM layer. > > > >What do you think? > > > >regards, > >Armin > > > >> > >> Cheers, > >> > >> Charles. > >> > >> > >> This email and any attachments are strictly confidential and are > >intended > >> solely for the addressee. If you are not the intended recipient you > >must > >> not disclose, forward, copy or take any action in reliance on this > >message > >> or its attachments. If you have received this email in error please > >notify > >> the sender as soon as possible and delete it from your computer > >systems. > >> Any views or opinions presented are solely those of the author and do > >not > >> necessarily reflect those of HPD Software Limited or its affiliates. > >> > >> At present the integrity of email across the internet cannot be > >guaranteed > >> and messages sent via this medium are potentially at risk. All > >liability > >> is excluded to the extent permitted by law for any claims > >arising as a > >re- > >> sult of the use of this medium to transmit information by or to > >> HPD Software Limited or its affiliates. > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org > >> For additional commands, e-mail: ojb-dev-help@db.apache.org > >> > >> > >> > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org > >For additional commands, e-mail: ojb-dev-help@db.apache.org > > > > > This email and any attachments are strictly confidential and are intended > solely for the addressee. If you are not the intended recipient you must > not disclose, forward, copy or take any action in reliance on this message > or its attachments. If you have received this email in error please notify > the sender as soon as possible and delete it from your computer systems. > Any views or opinions presented are solely those of the author and do not > necessarily reflect those of HPD Software Limited or its affiliates. > > At present the integrity of email across the internet cannot be guaranteed > and messages sent via this medium are potentially at risk. All liability > is excluded to the extent permitted by law for any claims arising as a re- > sult of the use of this medium to transmit information by or to > HPD Software Limited or its affiliates. > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org > For additional commands, e-mail: ojb-dev-help@db.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: ojb-dev-unsubscribe@db.apache.org For additional commands, e-mail: ojb-dev-help@db.apache.org