Need help with Hibernate? Read this first:
http://www.hibernate.org/ForumMailingli ... AskForHelp
Hello All,
I have just started working with a Spring based architecture. I am in the process of integrating Hibernate into the system. The system is based on POJOs. Each POJO has associated DAO and Validator helper objects that are not mapped to tables in the database. These objects are injected to the POJO using a spring factory. Calls to delete and update on the POJO are then delegated to the associated DAO.
All well and good. However, I would like to start using Hibernate in in my data access layer. I want to use Hibernate to do a lookup but induce it to use Springs dependency injection. At the moment I can use Hibernate to do a lookup but it does not populate the helper objects so the DAO will be null and I have no way of persisting any changes made.
I would be really grateful of any suggestions.
Many Thanks,
Ben