Tuesday 5 August 2008

org.hibernate.HibernateException: No Hibernate Session bound to thread

error message : org.hibernate.HibernateException: No Hibernate Session bound to thread

You did not insert "annotation" in the source.
such as

"@Transactional"
"@SuppressWarnings("unchecked")"
"@Transactional(readOnly = true)"

No comments: