03 2018 档案
摘要:1、 普通映射 2、 @Select("select * from mybatis_Student where id=#{id}") 3、 public Student getStudent(int id); 4、 @Insert("insert into mybatis_Student (name
阅读全文
摘要:一. 使用sqlSessionFactory 的 mapperLocations 进行加载 <!-- SessionFactory --> <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean" sc
阅读全文

浙公网安备 33010602011771号