JDBC中?占位符的使用说明
2 回答
慕神8447489
TA贡献1780条经验 获得超1个赞
Query query=session.createQuery("from Tuser user where user.sbh=? and user.password=?");
query.setString(0,username);
query.setString(1, password);
- 2 回答
- 0 关注
- 1920 浏览
添加回答
举报
0/150
提交
取消
