摘要:
前言: mybatis框架中最具特色的便是sql语句中的自定义,而动态sql的使用又使整个框架更加灵活。 创建User表 /*Table structure for table `user` */ DROP TABLE IF EXISTS `user`; CREATE TABLE `user` ( 阅读全文
摘要:
序言 在mybatis中,参数取值方式有两种:#{ } 和 ${ } 一、#{ } select * from student where name=#{name} 编译后执行的sql语句: select * from student where name=? 说明: #{ }实现的是JDBC 中p 阅读全文