I know that I can do something like:
public class AbstractDao<T extends Bean> {
}
In this case, Bean is an class or interface.
I was wondering if is there a way to do this with annotations, like:
public class AbstractDao<T extends javax.persistence.Entity> {
}
Is something like this possible?
Thanks in advance!