Re: [PATCHES] Bad Short Default v530 (Fix getXXX methods when used

From: Barry Lind <blind(at)xythos(dot)com>
To: "Addison, Darrick" <DARRICK(dot)ADDISON(at)cubic(dot)com>
Cc: "'pgsql-jdbc(at)postgresql(dot)org'" <pgsql-jdbc(at)postgresql(dot)org>, "'kho(at)redhat(dot)com'" <kho(at)redhat(dot)com>
Subject: Re: [PATCHES] Bad Short Default v530 (Fix getXXX methods when used
Date: 2003-08-27 19:44:22
Message-ID: 3F4D0A16.6040403@xythos.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-jdbc pgsql-patches

Darrick,

Can you send a simple test program to the list that reproduces the error
you are seeing?

thanks,
--Barry

Addison, Darrick wrote:
> Hi,
> Just wanted to know if anyone can help with the following PostgresSQL 7.x
> error that
> occurs after running a program that uses the pg73jdbc2.jar:
>
> Note: The following URL provided some clues but I'm unsure how to
> incorporate the fix
> http://archives.postgresql.org/pgsql-jdbc/2003-06/msg00062.php
> <http://archives.postgresql.org/pgsql-jdbc/2003-06/msg00062.php>
>
>
> Proc: {call getExProfiles(-999)}
> Bad Short Default v530
> at
> org.postgresql.jdbc1.AbstractJdbc1ResultSet.getShort(AbstractJdbc1ResultSet.
> java:136)
> at Int2SqlField.loadFromDb(Int2SqlField.java:34)
> at DbProc.doExecute(DbProc.java:213)
> at ProfOffsets.refreshScenarioProfiles(ProfOffsets.java:104)
> at PeScenario.JdbcLoadScenarios(PeScenario.java:382)
> at PeScenario.PublishAndSubscribe(PeScenario.java:277)
> at FedAmb.svcInit(FedAmb.java:372)
> at Pehla.Init(Pehla.java:1231)
> at Pehla.DoHla(Pehla.java:912)
> at Pehla$ServiceHla.run(Pehla.java:166)
> at java.lang.Thread.run(Unknown Source)
> The column index is out of range.
> at
> org.postgresql.jdbc1.AbstractJdbc1ResultSet.checkResultSet(AbstractJdbc1Resu
> ltSet.java:675)
> at
> org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(AbstractJdbc1ResultSet
> .java:91)
> at StringSqlField.loadFromDb(StringSqlField.java:40)
> at DbProc.doExecute(DbProc.java:213)
> at ProfOffsets.refreshScenarioProfiles(ProfOffsets.java:104)
> at PeScenario.JdbcLoadScenarios(PeScenario.java:382)
> at PeScenario.PublishAndSubscribe(PeScenario.java:277)
> at FedAmb.svcInit(FedAmb.java:372)
> at Pehla.Init(Pehla.java:1231)
> at Pehla.DoHla(Pehla.java:912)
> at Pehla$ServiceHla.run(Pehla.java:166)
> at java.lang.Thread.run(Unknown Source)
> Bad Short Default v530
> at
> org.postgresql.jdbc1.AbstractJdbc1ResultSet.getShort(AbstractJdbc1ResultSet.
> java:136)
> at Int2SqlField.loadFromDb(Int2SqlField.java:34)
> at DbProc.doExecute(DbProc.java:213)
> at ProfOffsets.refreshScenarioProfiles(ProfOffsets.java:104)
> at PeScenario.JdbcLoadScenarios(PeScenario.java:382)
> at PeScenario.PublishAndSubscribe(PeScenario.java:277)
> at FedAmb.svcInit(FedAmb.java:372)
> at Pehla.Init(Pehla.java:1231)
> at Pehla.DoHla(Pehla.java:912)
> at Pehla$ServiceHla.run(Pehla.java:166)
> at java.lang.Thread.run(Unknown Source)
> The column index is out of range.
> at
> org.postgresql.jdbc1.AbstractJdbc1ResultSet.checkResultSet(AbstractJdbc1Resu
> ltSet.java:675)
> at
> org.postgresql.jdbc1.AbstractJdbc1ResultSet.getString(AbstractJdbc1ResultSet
> .java:91)
> at StringSqlField.loadFromDb(StringSqlField.java:40)
> at DbProc.doExecute(DbProc.java:213)
> at ProfOffsets.refreshScenarioProfiles(ProfOffsets.java:104)
> at PeScenario.JdbcLoadScenarios(PeScenario.java:382)
> at PeScenario.PublishAndSubscribe(PeScenario.java:277)
> at FedAmb.svcInit(FedAmb.java:372)
> at Pehla.Init(Pehla.java:1231)
> at Pehla.DoHla(Pehla.java:912)
> at Pehla$ServiceHla.run(Pehla.java:166)
> at java.lang.Thread.run(Unknown Source)
>
> Kind Regards,
> Darrick
>

In response to

Browse pgsql-jdbc by date

  From Date Subject
Next Message Oliver Jowett 2003-08-28 01:31:39 Re: Help - lo_close: invalid large obj descriptor
Previous Message Barry Lind 2003-08-27 19:40:45 Re: DatabaseMetaData.get(Imi|Ex)portedKeys() and FK_NAME column

Browse pgsql-patches by date

  From Date Subject
Next Message ohp 2003-08-28 12:41:58 Index creation takes for ever
Previous Message Tom Lane 2003-08-27 19:31:38 Re: gettext-related compile failure fix