Does anyone know if it is possible to use dependency injection on hibernate entities?
I know I can create a DAO that returns a list of domain entities from a HibernateTemplate, but what if I want those 500 instances to be aware of some service? Does the DAO have to iterate through all 500 and provide the service instance? Or... can Spring do this automatically?
