Home > Q&A > body text
setString has strikethrough..Is there any alternative?
三叔2017-06-10 09:51:04
session.createQuery(HQL).setParameter("","");
阿神2017-06-10 09:51:04
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, ...)