fixes in GenericBeanDAO