working around myBatis