[CONJ-829] Option to cache callablestatement disabled by default Created: 2020-09-10  Updated: 2020-09-18  Resolved: 2020-09-18

Status: Closed
Project: MariaDB Connector/J
Component/s: configuration
Affects Version/s: None
Fix Version/s: 2.7.0

Type: Task Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
Labels: None


 Description   

Option `cacheCallableStmts` is enable by default.
the default must be disabled by default for different reasons :

  • differ compared to MySQL driver.
  • more important, since using binary protocol when using out parameters, this can lead to having a lot of prepare statements cached in the server without the user knowing it, even resulting reaching max_prepared_stmt_count maximum.

Generated at Thu Feb 08 03:18:37 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.