I am in the middle of developing a proper generic DAO framework and i am going through few pre implementations.
This implementation is good. My only problem is Do we need to create a extra DAO class when we create a entity. For example lets say you have entity named Country and there will
be a new DAO called CountryDAO like which is doing same basic operations like findByID, findAll, save, delete....
public interface CountryDAO extends GenericDAO<Country, Long> {
}
Like wise if we implemented 100 entities we are getting 100 empty interfaces and DAO classes Then what is the point of having a GENERIC