@Override
 protected void configure(Configuration config) throws Exception {
   super.configure(config);
   config.add(new ReferenceSystemMonitoringSupport());
 }
Пример #2
0
 protected void configure(Configuration config) throws Exception {
   super.configure(config);
   config.objectClass(Item.class).indexed(false);
 }
 @Override
 protected void configure(Configuration config) throws Exception {
   config.objectClass(Holder.class).cascadeOnUpdate(true);
   config.objectClass(Holder.class).cascadeOnDelete(true);
 }