not that I know of, propably just old doc. Regards, Low
-----Original Message----- From: Krzysztof Swietlinski [mailto:[EMAIL PROTECTED]] Sent: Wednesday, May 29, 2002 8:36 To: [EMAIL PROTECTED] Subject: Re: [castor-dev] access mode (Was: Read only operations - best practices) In java docs (version 0.9.3.9) all methods that accept access mode are marked as "EXPERIMENTAL". What are the reasons for that? Are they any known issues with access mode? Thanks, Krzysztof --- Low Heng Sin <[EMAIL PROTECTED]> wrote: > it doesn't really make any difference as long as u > retrieve your data as > readonly, > > i.e. use db.load(xxx.class, xxx, Database.ReadOnly) > and > query.execute(Database.ReadOnly) > > Regards, > Low > > -----Original Message----- > From: Krzysztof Swietlinski > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, May 29, 2002 6:18 > To: [EMAIL PROTECTED] > Subject: [castor-dev] Read only operations - best > practices > > > If I perform a read only operation, as a single > query > or db.load what are the best practices, should I > commit or rollback at the end? I'm pretty sure there > is no way of doing this not in transaction, right? > > I short which is better: > db.begin() > /// read only operation > db.commit() > > or > > db.begin() > /// read only operation > db.rollback() > > > Thanks, > Krzysztof > > __________________________________________________ > Do You Yahoo!? > Yahoo! - Official partner of 2002 FIFA World Cup > http://fifaworldcup.yahoo.com > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send > mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > > ----------------------------------------------------------- > > If you wish to unsubscribe from this mailing, send > mail to > [EMAIL PROTECTED] with a subject of: > unsubscribe castor-dev > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
