Re: Bad Integer

From: Barry Lind <barry(at)xythos(dot)com>
To: "Peter T(dot) Brown" <peter(at)memeticsystems(dot)com>
Cc: Dave(at)micro-automation(dot)net, pgsql-jdbc(at)postgresql(dot)org
Subject: Re: Bad Integer
Date: 2001-12-04 19:46:15
Message-ID: 3C0D2807.7020203@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc

Peter,

In your postgresql.conf file set the debug_print_query to true. This
will cause all sql statements to be printed to the log file.

thanks,
--Barry

Peter T. Brown wrote:

> No I don't. Is there any logging capabilities in Postgres I could utilize to
> expose the actual SQL select, etc.?
>
> Thanks
>
> -----Original Message-----
> From: Dave Cramer [mailto:Dave(at)micro-automation(dot)net]
> Sent: Monday, December 03, 2001 4:47 PM
> To: 'Peter T. Brown'; pgsql-jdbc(at)postgresql(dot)org
> Subject: RE: [JDBC] Bad Integer
>
>
> Peter,
>
> It's possible that you are running into a signed/unsigned int problem do
> you know what the value of the integer in question is?
>
> Dave
>
> -----Original Message-----
> From: pgsql-jdbc-owner(at)postgresql(dot)org
> [mailto:pgsql-jdbc-owner(at)postgresql(dot)org] On Behalf Of Peter T. Brown
> Sent: Monday, December 03, 2001 7:31 PM
> To: pgsql-jdbc(at)postgresql(dot)org
> Subject: [JDBC] Bad Integer
>
>
> Hi--
>
> I am using Castor w/ PostgreSQL 7.1 via JDBC, and have been getting the
> below error often lately :)
>
> Can anyone help me to correct it?
>
> Thanks
>
> Bad Integer -
> at org.postgresql.jdbc2.ResultSet.toInt(ResultSet.java:1460)
> at org.postgresql.jdbc2.ResultSet.getInt(ResultSet.java:247)
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 2: you can get off all lists at once with the unregister command
> (send "unregister YourEmailAddressHere" to majordomo(at)postgresql(dot)org)
>
>
>
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/users-lounge/docs/faq.html
>
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Rene Pijlman 2001-12-04 20:53:58 Re: Encoding weirdness with JDBC, driver crashing?
Previous Message Laszlo Hornyak 2001-12-04 19:18:52 Re: java stored procedures