It's not possible to use more than one '?' placeholder in PreparedStatement. Details: https://sourceforge.net/p/zeoslib/tickets/563/
Tests cover either queries with one '?' placeholder or $1,$2,$3 placeholders. So they don't cover this issue
Postgres multiple placeholders error
-
- Platinum Boarder
- Posts: 1956
- Joined: 17.01.2011, 14:17
Re: Postgres multiple placeholders error
Hello WhiteWind,
I replied to your post in the Bug Tracker. Generally it makes sense to supply a small program that demonstrates the problem. I created a tescase based on the scarce information you gave me and it seems to work without problems. See my answer in the bug tracker.
With best regards,
Jan
I replied to your post in the Bug Tracker. Generally it makes sense to supply a small program that demonstrates the problem. I created a tescase based on the scarce information you gave me and it seems to work without problems. See my answer in the bug tracker.
With best regards,
Jan
Re: Postgres multiple placeholders error
Sorry, I can no longer reproduce this error. Either it was fixed in the mean time, or it was because of my own customizations. You can close the issue