Hello,
We are using the Mapper (2.1.7) to map entities to tables. Nice abstraction however it appears that under the covers the framework is generating the same prepared statement over and over instead of caching them. Seeing a lot of warning log messages:
Re-preparing already prepared query .... Please note that preparing the same query more than once is generally an anti-pattern and will likely affect performance. Consider preparing the statement only once.
I didn't see any options that I can set to direct the Mapper to cache prepared statements. Is there anything I should be doing in order to change this behavior?
Thanks in advance,
Sean