Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this questionI 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 they do it.
I've been reading hibernate-generic-dao since this morning and it looks good (looking at the sample maven project (spring,hibernate,h2,spring-mvc).
But I thought I should get the expert's opinion first before deciding to use hibernate-generic-dao
.
Looking at other related SO posts, I've also seen other related libraries that looks stable
- Appfuse
- j-genericdao
- Hades
All experiences or opinions are greatly appreciated :) thanks a lot in advance
UPDATE: Looking at Appfuse's GenericDAOHibernate interface. It looks like they only provide minimal CRUD operations. Is this right? Then I'll cross-out Appfuse from the list
Hades is great, I used it in some Project.
But the Hades project moved into Spring-Data-JPA. It look like Hades, work like Hades and the project lead is the same. And Spring-Data-JPA contains some new features not aviable in Hades, like queryDsl.
精彩评论