setString has strikethrough..Is there any alternative?
拥有18年软件开发和IT教学经验。曾任多家上市公司技术总监、架构师、项目经理、高级软件工程师等职务。 网络人气名人讲师,...
session.createQuery(HQL).setParameter("","");
Just look at the Javadoc and you will know. In Eclipse, press the F2 key or move the mouse up.
Also, it should be setString(1, ...).
setString(1, ...)
session.createQuery(HQL).setParameter("","");
![](http://img.php.cn/upload/image/000/000/000/40990742170007eafc771e318681b1b1-0.png)
Just look at the Javadoc and you will know. In Eclipse, press the F2 key or move the mouse up.
Also, it should be
setString(1, ...)
.