Update unit tests to MyBatis.
Add missing exports.
Update to MyBatis.
Update to MyBatis.
Fix legacy aggregate query, where mapping expected DateTime but was passing Timestamp.
Fix transaction configuration so that large select results are paged using server-side cursors. This requires auto-commit to be turned off, which happens in Spring when a transaction is applied. Previously the transaction propagation setting was SUPPORTS so changed to REQUIRED so that we get the desired behavior.