Limit statements cached in DatabaseMetaData [JDBC557] #590
Submitted by: @mrotteveel
We're currently caching the prepared metadata statements for reuse, but we have not put any limits on the number of statements cached. Statements are only cleaned if the connection is closed, or DatabaseMetaData is 'closed' through the Jaybird specific FirebirdDatabaseMetaData.close() method. As some forms metadata methods may generate multiple statements depending on the values passed, this may grow.
We should change this to some form of LRU cache that only caches a limited number of statements, and closes statements if that limit is reached.
The text was updated successfully, but these errors were encountered:
Modified by: @mrotteveel
Version: Jaybird 3.0.5 [ 10873 ]
Version: Jaybird 3.0.4 [ 10861 ]
Version: Jaybird 3.0.3 [ 10852 ]
Version: Jaybird 3.0.2 [ 10840 ]
Version: Jaybird 3.0.1 [ 10831 ]
Version: Jaybird 3.0.0 [ 10440 ]
Fix Version: Jaybird 4 [ 10441 ]