Return-Path: Mailing-List: contact cocoon-dev-help@xml.apache.org; run by ezmlm Delivered-To: mailing list cocoon-dev@xml.apache.org Received: (qmail 67910 invoked from network); 6 Sep 2000 07:28:09 -0000 Received: from amethiste.eunet.fr (193.107.210.28) by locus.apache.org with SMTP; 6 Sep 2000 07:28:09 -0000 Received: from (IDENT:root@[193.106.126.130]) by amethiste.eunet.fr with ESMTP id JAA17303 for ; Wed, 6 Sep 2000 09:43:59 +0200 (MET DST) Received: from free.fr (monster.netvizion.fr [193.106.126.142]) by mail.netvizion.fr (8.9.3/8.9.3/ NetviZion 25/09/1999) with ESMTP id JAA07439 for ; Wed, 6 Sep 2000 09:28:33 +0200 Message-ID: <39B5F1B3.19580C3D@free.fr> Date: Wed, 06 Sep 2000 09:26:43 +0200 From: Sylvain Wallez Organization: Anyware Technologies X-Mailer: Mozilla 4.7 [fr] (WinNT; I) X-Accept-Language: fr MIME-Version: 1.0 To: cocoon-dev@xml.apache.org Subject: Re: new sql logicsheet! References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Spam-Rating: locus.apache.org 1.6.2 0/1000/N Donald Ball a �crit : > > On Tue, 5 Sep 2000, Per Kreipke wrote: > > > > > This behaviour is allowed by JDBC. ResultSet javadoc states "For maximum > > > > portability, ResultSet columns within each row should be read in > > > > left-to-right order and each column should be read only once." > > > > > > Geez. Pardon my language, but that is simply ass. > > > > I love tech talk :) It's a shitty constraint but it might help speed up lots > > of implementations, which JDBC needs as far as I can tell (or maybe it's the > > JDBC-ODBC bridge that's slow). > > note that the JDBC-ODBC bridge is terrible and is really not recommended > for use in production environments - not only is it slow only implements > JDBC minimally, it's known to have thread safety issues under certain > circumstances. if you're stuck with access, i'm pretty sure there is a > type 4 driver for access specifically (i could easily be wrong tho). > access itself has been known to corrupt data when multiple processes are > operating on the database simultaneously. my take - access is fine for > rapid prototyping if you get off on that kind of thing but use a real > database (mysql, postgresql, oracle, etc.) for storing real data. > That's exactly how I discovered this "feature" of JDBC : prototyping with Access an application that will run on Oracle. > i think i'll probably simply stick to getString if the user wants me to > cacheValues. IMO, that's the most frequent case of column reuse within a row. -Sylvain