123124125126127128129130
{ List<Class> classes = new ArrayList<Class>(); classes.add(B.class); classes.add(A.class); Mapper mapper = new AnnotationMapperImpl(classes); return new ObjectContentManagerImpl(session, mapper); }