Hello
I don't know what to do : )
I have a db with data, and I wanted to get a Branch object, but I get LazyInitializationException, because the object has references to other objects inside.
I also have a class named AbstractDAO, which all specific DAOs extend, and I want it to work with HibernateTemplate, but I can't make spring inject the SessionFactory object.
Please help : /
Here are the files:
Branch:
AbstractDAO (I want to change this class):
web.xml:
applicationContext:
BranchDAOHibernate:
struts.xml
BranchById (
Struts Action):