Use placeholders. It will also help in preventing SQL injections:
Session ses = HibernateUtil.getSessionFactory().openSession();
String query = "SELECT review.comment FROM ReviewDO review WHERE title=:title";
List<ReviewComment> reviewComments = ses.createQuery(query)
.setParameter("title", "Can't beat the product")
.list();
ses.close();
And if you are sure that your query will give only one record then instead of using list() use uniqueResult() method of Query interface.
For more details see the documentation of Query interface here