No Hibernate Session bound to thread, and configuration does not allow creation of non-transactional one here flowers in mississauga
September 10, 2014
No comments
Was getting this error trying to run a hibernate query in a thread during startup.
Need to add @Transactional to the flowers in mississauga and the class. This tells hibernate to add the flowers in mississauga and the session to the florists mississauga and the thread.
Comments
Leave a comment Trackback