Hi Michael, Yes, with a bit of reflection surely can be done, in that snippet I would focus on the simple behavior :) Just make sure you are using the class loader of the bundle that uses Cayenne
2013/3/4 Michael Gentry <[email protected]> > Hi Cristiano, > > ClassRegistry.registerClass(MyPersistentClass1.class); > > ClassRegistry.registerClass(MyPersistentClass2.class); > > > > Wouldn't it be better to iterate over all of the classes in the DataMap to > register them instead of manually registering them? > > mrg >
