LazyInitializationException when adding to a list that is held within a entity class using hibernate
- by molleman
Right so i am working with hibernate gilead and gwt to persist my data on users and files of a website. my users have a list of file locations. i am using annotations to map my classes to the database. i am getting a org.hibernate.LazyInitializationException when i try to add file locations to the list that is held in the user class.
this is a…