Skip to main content

Blog Archive for felipeal during November 2006

So, here is the deal. I've created a generic DAO class that looks like the following: <pre>package net.felipeal;import java.util.ArrayList;public abstract class DAO&lt;EntityInterface, EntityImpl extends EntityInterface> {    private final Class&lt;EntityImpl&gt; entityClass;    public DAO( final Class&lt;EntityImpl&gt; clazz ) {  ...