generic « DAO « JPA Q&A





1. Generic DAO and Wrapper    stackoverflow.com

In order to finish a uni project I need to create a generic DAO. I followed the generic DAO design as found in the Manning's book Java persistence with hibernate. en ended ...

2. Comments & experience with hibernate-generic-dao and the likes?    stackoverflow.com

I had a hard time writing my own generic search method (Using SearchCriteria DTO) in my DAO's. So I decided to look for a generic DAO Open-Source library and see how ...

3. Generic Hibernate DAO    stackoverflow.com

appreciate it if some one could help on it. My plan is to have two layers. One is Service layer and second is DAO layer. The service layer will do business ...

4. Generic DAO and Wrapper    forum.hibernate.org

5. Hibernate DAO using java 5.0 generics    forum.hibernate.org

I'm using the following DAO implementation for hibernate, which I'd like to share on this forum to get other people opinions. It is using java 5.0 generics and is based on the code found at http://www.ericburke.com/blog/2004/11/h ... ava-5.html with the difference that id class is also parameterized. Basically when creating your own DAO you usually only need to write finder methods ...