mybatis是不是也有注解形式的写法啊 我在源码中看到以下代码 感觉注解更方便啊
@Insert("insert into person (id, firstname, lastname) values (#{id}, #{firstname}, #{lastname})")
public void create(Person person);
@Insert("insert into person (id, firstname, lastname) values (#{id}, #{firstname}, #{lastname})")
public void create(Person person);
2017-04-04
举报