This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, i have followed the hibernate Factory implementation which uses abstractDAO for all my DAOs. I now need to inject my DAOs which extends this Abstract to Spring service layer (Manager class). Here's an example
Problem is basketDao is an interface, and all these crud methods (except findBasketByReference() which is unique to DAO) are abstract/generic therefore not implemented on any of my DAOs but on AbstractDAOImpl. So they aren't visible to the interface BasketDAO which is injected to the service. Can i inject rather BasketDAOImpl as it will access these methods