int id abstract hibernate dao with clazz field