Load an entity There are two forms to get an entity with the methods load() or get(). public Category getCategory(Long catId) throws DataAccessException { return (Category) this.getSessionFactory().getCurrentSession() . load(Category.class, catId); } public Category getCategory(Long catId) throws DataAccessException { return (Category) this.getSessionFactory().getCurrentSession() . get(Category.class, catId); } The difference are: load() Throws an exception if there isn't any row. Has performane benefits. get() Return null if there isn't any row. HibernateTemplate - Using Parameters with findByNamedParam In case of use only one parameter, you need the query, parameter name and the value . public List<ArtEntity> getArtworkInCategory(Long catId) throws DataAccessException { return this.getHibernateTemplate(). fi...