myBatis的增删改查以及动态查询


"http://mybatis.org/dtd/mybatis-3-mapper.dtd">



 




select seq_userId.nextval from dual

insert  into users(id,name,password)
values(#{id},#{name},#{passWord})


update users


name=#{name},


password=#{passWord},


where id=#{id}


delete  users whrer id=1;

 

你可能感兴趣的:(myBatis的增删改查以及动态查询)