This repository was archived by the owner on May 24, 2023. It is now read-only.

Description
At the database level, a prepared statement is bound to a single database connection.
When you execute the Stmt, it tries to use the connection. If it’s not available because it’s closed or busy doing something else, it gets another connection from the pool and re-prepares the statement with the database on another connection.
Is that any other existing connection? Or does the database create a new connection?