0

I'm tring to connect my spring boot app to PGbouncer connection pool on digital ocean cloud. But I get the error "prepared statement "S_1" already exists". As I understand the issue is Hikari connection pool. Should I turn it off? If yes how to do it? Or maybe exists some other solution?

Illia
  • 158
  • 1
  • 10

1 Answers1

2

Add the parameter 'prepareThreshold=0' to connection string fixed problem.

Illia
  • 158
  • 1
  • 10