A StatementBuilder which decorates another StatementBuilder and caches
- This should be done in the JDBC driver, not here
Create a new CachingStatementBuilder which decorates the one passed in.
builder The StatementBuilder used to actual PreparedStatement creation
Return either a cached PreparedStatement or a new one which has just been added to the cache
- A new, or cached, PreparedStatement
NOOP, statements will be closed when the handle is closed
Iterate over all cached statements and ask the wrapped StatementBuilder to close