Comments & experience with hibernate-generic-dao and the likes?

947 Views Asked by At

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 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

  1. Appfuse
  2. j-genericdao
  3. 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

1

There are 1 best solutions below

2
On

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.