Disable PreparedStatements


We have added a connection pool in front of our database (pgbouncer).  We have it setup for transaction level pooling, but unfortunately that means PreparedStatements do not work.  We can disable it using the parameter "prepareThreshold=0" on the data source url, but that only works for a while and then we start getting errors again: "org.postgresql.util.PSQLException: ERROR: prepared statement "S_1" does not exist".  Does anyone have a solution for this?




sgalaise's picture
Joined: Jul 2 2019 - 9:31am
Last seen: 1 week 6 days ago

0 Answers:

No answers yet