MyBatis <=> EMF persistence layer