pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Dario V. Fassi <software@sistemat.com.ar>
To: pgsql-jdbc@postgresql.org <pgsql-jdbc@postgresql.org>
Subject: DatabaseMetada.supportOpenCursorsAcrossCommit() return wrong information.
Date: Sat, 17 Jul 2004 21:25:24 -0300
Message-ID: <40F9C374.1040106@sistemat.com.ar> (raw)

I believe that this methods return wrong information.:

 DatabaseMetada.supportOpenCursorsAcrossCommit()      return false / 
would return TRUE
 DatabaseMetada.supportOpenCursorsAcrossRollBack()    return false / 
would return TRUE

Code like this was user to say that.

rs = executeQuery( ... );
while ( rs.next() ) {
    con.rollback();
    con.commit();
    System.err.println(  n++ ) ;
}

Count all the rows in the result set.

Dario.




view thread (2+ messages)  latest in thread

Message-ID: <40F9C374.1040106@sistemat.com.ar>
Permalink:  ../40F9C374.1040106@sistemat.com.ar/
Also on:    postgresql.org/message-id/40F9C374.1040106@sistemat.com.ar

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-jdbc@postgresql.org
  Cc: software@sistemat.com.ar
  Subject: Re: DatabaseMetada.supportOpenCursorsAcrossCommit() return wrong information.
  In-Reply-To: <40F9C374.1040106@sistemat.com.ar>
  References: <40F9C374.1040106@sistemat.com.ar>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox