摘要:
1、 普通映射 2、 @Select("select * from mybatis_Student where id=#{id}") 3、 public Student getStudent(int id); 4、 @Insert("insert into mybatis_Student (name 阅读全文
posted @ 2018-03-26 21:36
有朋远方来
阅读(854)
评论(0)
推荐(1)
摘要:
一. 使用sqlSessionFactory 的 mapperLocations 进行加载 <!-- SessionFactory --> <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean" sc 阅读全文
posted @ 2018-03-26 21:23
有朋远方来
阅读(3019)
评论(0)
推荐(0)

浙公网安备 33010602011771号