X-Original-To: pgsql-jdbc-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 2225C9FB32C for ; Wed, 2 Aug 2006 01:05:56 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 88267-08 for ; Wed, 2 Aug 2006 01:05:47 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey- Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.179]) by postgresql.org (Postfix) with ESMTP id 0ABD59FB2CB for ; Wed, 2 Aug 2006 01:05:46 -0300 (ADT) Received: by py-out-1112.google.com with SMTP id b36so1208495pyb for ; Tue, 01 Aug 2006 21:05:46 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=h1KnQq5CW/WKwYZaqIucocxv5V7YIm61uijsNbEt02Vpt0uIMuccC3kfaG7Mzdgn9rYaLGQeHbhHdwPyCURb2Esg2wU54oijAZKza906zo3Su2p51IS5CkTt13nn0Q/5wDd6Fo1efRsWsIQsU5ZSmfS8l1fzE7JewL4knBPC8OU= Received: by 10.65.112.5 with SMTP id p5mr630910qbm; Tue, 01 Aug 2006 21:05:45 -0700 (PDT) Received: by 10.65.35.19 with HTTP; Tue, 1 Aug 2006 21:05:45 -0700 (PDT) Message-ID: Date: Wed, 2 Aug 2006 12:05:45 +0800 From: ron To: pgsql-jdbc@postgresql.org Subject: Re: Callablestatement's resulting resultset not scrollable In-Reply-To: <33159.10.101.42.2.1154431339.squirrel@webmail.mendoza.gov.ar> MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_28536_27792216.1154491545852" References: <44CE9C1C.1050305@ejurka.com> <33159.10.101.42.2.1154431339.squirrel@webmail.mendoza.gov.ar> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0.99 tagged_above=0 required=5 tests=AWL, DNS_FROM_RFC_ABUSE, HTML_MESSAGE, SPF_PASS X-Spam-Level: X-Archive-Number: 200608/7 X-Sequence-Number: 15534 ------=_Part_28536_27792216.1154491545852 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Diego, I'm still using jdk 1.5. May I know what version of PostgreSQL JDBC driver you've used with jdk1.6.0-beta2-b82? If you've switched to the b92 version of jdk, don't you think there's a need for a corresponding update or upgrade to the PostgreSQL driver you're using to go with that new version? The JDBC driver, afterall, is still what drives the PostgreSQL in a Java context. Anyway, while waiting for the scrollability feature of the CallableStatement's resultset, I opted to work around it using PreparedStatement to answer my current concern for a scrollable resultset. I've used a PostgreSQL stored function and called it through a preparedstatement. Regards. On 8/1/06, dgil@mendoza.gov.ar wrote: > > Ron: > > Are you using jdk 1.6.0 (mustang) ?. I got same kind of errors > (TYPE_FORWARD_ONLY while required a non TYPE_FORWARD_ONLY) while using > CachecRowSetImpl with jdk 1.6.0 b92. It works Ok with b82. > > Regards, > Diego. > > -- R. Agustin - - - - - - - - - - - - - - - - - - - - - - - - - - E-mail: bragustin@gmail.com ICQ #: 146807041 _______________________________________ This email contains confidential information for the sole use of the intended recipient/s. If you are not the intended recipient, please contact the sender, delete this email and maintain the confidentiality of what you may have read. "It is a capital mistake to theorize before one has data." - Sherlock Holmes ------=_Part_28536_27792216.1154491545852 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi Diego,

I'm still using jdk 1.5.

May I know what version of PostgreSQL JDBC driver you've used with jdk1.6.0-beta2-b82?
If you've switched to the b92 version of jdk, don't you think there's a need for a corresponding update or upgrade to the PostgreSQL driver you're using to go with that new version? The JDBC driver, afterall, is still what drives the PostgreSQL in a Java context.

Anyway, while waiting for the scrollability feature of the CallableStatement's resultset,  I opted to work around it using PreparedStatement to answer my current concern for a scrollable resultset. I've used a PostgreSQL stored function and called it through a preparedstatement.

Regards.


On 8/1/06, dgil@mendoza.gov.ar <dgil@mendoza.gov.ar> wrote:
Ron:

Are you using jdk 1.6.0 (mustang) ?. I got same kind of errors
(TYPE_FORWARD_ONLY while required a non TYPE_FORWARD_ONLY) while using
CachecRowSetImpl with jdk 1.6.0 b92. It works Ok with b82.

Regards,
Diego.




--
R. Agustin
- - - - - - - - - - - - - - - - - - - - - - - - - -
E-mail: bragustin@gmail.com
ICQ #: 146807041
_______________________________________
This email contains confidential information for the sole use of the intended
recipient/s. If you are not the intended recipient, please contact
the sender, delete this email and maintain the confidentiality of what
you may have read.

"It is a capital mistake to theorize before one has data."
- Sherlock Holmes
------=_Part_28536_27792216.1154491545852--