New version with MyBatis