arnaudroger / SimpleFlatMapper

Fast and Easy mapping from database and csv to POJO. A java micro ORM, lightweight alternative to iBatis and Hibernate. Fast Csv Parser and Csv Mapper
http://simpleflatmapper.org
MIT License
435 stars 76 forks source link

[Question] Jooq SelectQueryMapper thread safety #724

Open henexekrar opened 4 years ago

henexekrar commented 4 years ago

Hi, I'd like to confirm whether SelectQueryMapper is thread safe. Looking over the code it seems like it, or if I missed anything.

Reason of the ask is that SelectQueryMapperFactory follows the same pattern when building the mapper as JdbcMapperFactory, and documentation suggested JdbcMapper is thread safe and uses reflection heavily so should try to avoid creating new instances.

Thanks in advance.