// comes up with something smarter...
Class<?> remoteClass = (Class<?>) ReflectionUtils.getGenericType(field);
this.manyToManyRelations.put(field, DefaultManyToManyRelation.getGenericInstance(beanClass, remoteClass, field, daoFactory, daoManaged));
ManyToMany manyToMany = field.getAnnotation(ManyToMany.class);
if (manyToMany.autoAdd()) {
this.autoAddRelations.add(field);
}
if (manyToMany.autoUpdate()) {
this.autoUpdateRelations.add(field);
}
if (manyToMany.autoGet()) {
this.autoGetRelations.add(field);
}
} else {