pg.ddx.io  pgsql-odbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Silvio Brandani <silvio.brandani@tech.sdb.it>
To: Oliver Jowett <oliver@opencloud.com>
Cc: pgsql-bugs@postgresql.org
Cc: pgsql-jdbc@postgresql.org
Subject: Re: [JDBC] Postgres Server Jdbc driver error
Date: Thu, 04 Aug 2011 15:47:22 +0200
Message-ID: <4E3AA2EA.9010308@tech.sdb.it> (raw)
In-Reply-To: <CA+0W9LOjLY6SfGMpAx3mzUaBZ53n7E09DkczeidaVarPxna=5g@mail.gmail.com>
References: <4DD38883.9060103@tech.sdb.it>
	<4DD41148.4080500@tpf.co.jp>
	<4DD4C814.80505@tech.sdb.it>
	<4DD4DDC0.4060400@tpf.co.jp>
	<4DD4E578.7030305@tech.sdb.it>
	<4E3A67FD.10501@tech.sdb.it>
	<CA+0W9LOjLY6SfGMpAx3mzUaBZ53n7E09DkczeidaVarPxna=5g@mail.gmail.com>

Il 04/08/2011 13.00, Oliver Jowett ha scritto:
> 2011/8/4 Silvio Brandani<silvio.brandani@tech.sdb.it>:
>
>> On the Tomcat side we get followin message:
>>
>>
>> Caused by: java.io.IOException: Tried to send an out-of-range integer as a
>> 2-byte value: 34027
>> at org.postgresql.core.PGStream.SendInteger2(PGStream.java:201)
>> at
>> org.postgresql.core.v3.QueryExecutorImpl.sendParse(QueryExecutorImpl.java:1236)
>> at
>> org.postgresql.core.v3.QueryExecutorImpl.sendOneQuery(QueryExecutorImpl.java:1508)
>> at
>> org.postgresql.core.v3.QueryExecutorImpl.sendQuery(QueryExecutorImpl.java:1097)
>> at
>> org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:255)
> What is the query that triggers this exception? (Not the one logged on
> the server side, it is the next query that's the problem)
> Taking the exception at face value implies that your query has 34,027
> parameters, which seems somewhat unlikely (!!) unless you have a badly
> garbled query string.
>
> Oliver
>
thanks for the support, we find the bug in the application , we will 
limt the number of parameters.



-- 
Silvio Brandani


---






Utilizziamo i dati personali che la riguardano esclusivamente per nostre finalità amministrative e contabili, anche quando li comunichiamo a terzi. Informazioni dettagliate, anche in ordine al Suo diritto di accesso e agli altri Suoi diritti, sono riportate alla pagina http://www.savinodelbene.com/privacy.html
Se avete ricevuto questo messaggio per errore Vi preghiamo di ritornarlo al mittente eliminandolo assieme agli eventuali allegati, ai sensi art. 616 codice penale http://www.savinodelbene.com/privacy/codice_penale_616.html
L'Azienda non si assume alcuna responsabilità giuridica qualora pervengano da questo indirizzo messaggi estranei all'attività lavorativa o contrari a norme.
--



view thread (3+ messages)

Message-ID: <4E3AA2EA.9010308@tech.sdb.it>
Permalink:  ../4E3AA2EA.9010308@tech.sdb.it/
Also on:    postgresql.org/message-id/4E3AA2EA.9010308@tech.sdb.it

 · 

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-odbc@postgresql.org
  Cc: silvio.brandani@tech.sdb.it, oliver@opencloud.com, pgsql-bugs@postgresql.org, pgsql-jdbc@postgresql.org
  Subject: Re: [JDBC] Postgres Server Jdbc driver error
  In-Reply-To: <4E3AA2EA.9010308@tech.sdb.it>
  References: <4DD38883.9060103@tech.sdb.it> <4DD41148.4080500@tpf.co.jp> <4DD4C814.80505@tech.sdb.it> <4DD4DDC0.4060400@tpf.co.jp> <4DD4E578.7030305@tech.sdb.it> <4E3A67FD.10501@tech.sdb.it> <CA+0W9LOjLY6SfGMpAx3mzUaBZ53n7E09DkczeidaVarPxna=5g@mail.gmail.com> <4E3AA2EA.9010308@tech.sdb.it>

* 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