Closed
Description
What happens to a connection's prepared statements when a connection is released?
The Connection Pool docs say prepared statements become invalid once a connection is released:
Prepared statements and cursors returned by Connection.prepare() and Connection.cursor() become invalid once the connection is released.
But the Pool docs say that prepared statements are not reset when a connection is released:
Once a connection is released, it’s reset to close all open cursors and other resources except prepared statements.
Is there a difference between a prepared statement becoming invalid and being reset, or are the docs incorrect in one of these places, or am I misunderstanding something?
Metadata
Metadata
Assignees
Labels
No labels