- 博客(1)
- 收藏
- 关注
原创 MyBatis占位符#和$的区别
<select id="findUserById" parameterType="int" resultType="com.itheima.pojo.User"> select * from users where id=#{id} </select> //MyBatis创建出PreparedStatement对象,执行SQL语句 Conncection conn = JDBCUtils.getConnection(); String sql = "select * .
2022-04-13 21:16:50 450
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人