pg.ddx.io  pgsql-jdbc@postgresql.org mailing list archive  
help / color / mirror / Atom feed
prepared statement not working
2+ messages / 2 participants
[nested] [flat]

* prepared statement not working
@ 2009-05-11 17:11 Jürgen Lüters <jlueters@intranet-engineering.de>
  2009-05-14 18:45 ` Re: prepared statement not working Kris Jurka <books@ejurka.com>
  0 siblings, 1 reply; 2+ messages in thread

From: Jürgen Lüters @ 2009-05-11 17:11 UTC (permalink / raw)
  To: pgsql-jdbc

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





^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: prepared statement not working
  2009-05-11 17:11 prepared statement not working Jürgen Lüters <jlueters@intranet-engineering.de>
@ 2009-05-14 18:45 ` Kris Jurka <books@ejurka.com>
  0 siblings, 0 replies; 2+ messages in thread

From: Kris Jurka @ 2009-05-14 18:45 UTC (permalink / raw)
  To: Jürgen Lüters <jlueters@intranet-engineering.de>; +Cc: pgsql-jdbc



On Mon, 11 May 2009, Jürgen Lüters wrote:

> 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?
>

Nothing comes to mind.  If you have a self contained testcase, I'd be 
happy to look at it.

Kris Jurka


^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2009-05-14 18:45 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2009-05-11 17:11 prepared statement not working Jürgen Lüters <jlueters@intranet-engineering.de>
2009-05-14 18:45 ` Kris Jurka <books@ejurka.com>

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