用mybatis,有工具可以自動生成mapping文件,但是service層和dao層還是要手動寫,但是很多實體類的service和dao都差不多,insert,update之類的,有沒有什么工具可以自動生成這些基本的增刪查改的功能?
認(rèn)證0級講師
Mybatis-Generator can generate dao, but service is the business logic layer and no one will generate it for you.