Received: from maia.hub.org (unknown [200.46.208.211]) by mail.postgresql.org (Postfix) with ESMTP id 1B7546334B8 for ; Mon, 1 Feb 2010 16:44:43 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.208.211]) (amavisd-maia, port 10024) with ESMTP id 66435-03 for ; Mon, 1 Feb 2010 20:44:28 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-ew0-f222.google.com (mail-ew0-f222.google.com [209.85.219.222]) by mail.postgresql.org (Postfix) with ESMTP id E4104636831 for ; Mon, 1 Feb 2010 16:44:31 -0400 (AST) Received: by ewy22 with SMTP id 22so49525ewy.34 for ; Mon, 01 Feb 2010 12:44:30 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.88.79 with SMTP id z57mr3183974wee.22.1265057070313; Mon, 01 Feb 2010 12:44:30 -0800 (PST) In-Reply-To: <4B673C9E.8020600@ejurka.com> References: <2f8a6c901002011053w4ec6425bodb502c67d4e2b2dc@mail.gmail.com> <2f8a6c901002011239r40e7cdd4k66321122e12829a6@mail.gmail.com> <4B673C9E.8020600@ejurka.com> From: Nedim Cholich Date: Mon, 1 Feb 2010 15:44:10 -0500 Message-ID: <2f8a6c901002011244g7df89fbeme737e11d837ea473@mail.gmail.com> Subject: Re: Jdbc4ResultSet getClob and getBlob are calling getLong internally To: Kris Jurka Cc: pgsql-jdbc@postgresql.org Content-Type: text/plain; charset=ISO-8859-1 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.443 tagged_above=-10 required=5 tests=BAYES_00=-2.599, SUBJECT_FUZZY_TION=0.156 X-Spam-Level: X-Archive-Number: 201002/4 X-Sequence-Number: 20291 On Mon, Feb 1, 2010 at 15:42, Kris Jurka wrote: > On 2/1/2010 12:39 PM, Nedim Cholich wrote: >> Yes, it's a TEXT column and yes I'm calling rs.getClob(columnName); >> What am I suppose to call instead? > > getString Ahhh. Thanks. BTW, I'm converting an app from Mysql to Postgresql and this is definitely different between two servers.