| Issue 19: | implemen method findMovieByjudul() di AppServiceImpl | |
| 1 person starred this issue and may be notified of changes. | Back to list |
public Movie findMovieByJudul(String judul) {
if (judul==null) return null;
return (Movie) sessionFactory.getCurrentSession()
.createQuery("FROM Movie m WHERE m.judul=:kd")
.setParameter("jd",judul)
.uniqueResult();
}
|