标签:io sp java on bs sql nbsp c rom
遇到这种情况select*from user where info like %?%;
虽然这是sql的写法,但是在jdbc 中需要改成 select*from user where info like ?;
如ps.setString(“%”+value+“%”);
标签:io sp java on bs sql nbsp c rom
原文地址:http://www.cnblogs.com/NaNaDreamer/p/4098889.html