pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jürgen Lüters <jlueters@intranet-engineering.de>
To: pgsql-jdbc@postgresql.org
Subject: prepared statement not working
Date: Mon, 11 May 2009 19:11:15 +0200
Message-ID: <1242061875.30715.5.camel@sid.ie-office.test> (raw)

Hi,
i try to get the follwong statement executed as an prepared statement.
It delivers 0 results.
The same statement, executed as a non prepared statement does return the
correct data.
Any ideas?


	 select
a.id,a.partnertyp,a.firmakurz,a.partnerstatus,a.adminstatus,a.eklassen,b.ort,b.plz,b.strasse from partner a, adresse b where a.isdeleted=0 and a.id=b.partnerid  and a.partnertyp !=6 and a.eklassen like '%20:%' and b.typeid=1 and b.plz in (select c.plz from plz c,baseregion d  where c.bundeslandid=d.id and d.id=4 ) order by a.firmakurz;


Kind Regards

Jürgen Lüters





view thread (2+ messages)  latest in thread

Message-ID: <1242061875.30715.5.camel@sid.ie-office.test>
Permalink:  ../1242061875.30715.5.camel@sid.ie-office.test/
Also on:    postgresql.org/message-id/1242061875.30715.5.camel@sid.ie-office.test

 · 

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-jdbc@postgresql.org
  Cc: jlueters@intranet-engineering.de
  Subject: Re: prepared statement not working
  In-Reply-To: <1242061875.30715.5.camel@sid.ie-office.test>
  References: <1242061875.30715.5.camel@sid.ie-office.test>

* 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