protected void configure(Configuration config) {
   config.objectClass(Item.class).cascadeOnDelete(true);
   config.objectClass(Item.class).cascadeOnUpdate(true);
 }
示例#2
0
 protected void configure(Configuration config) throws Exception {
   super.configure(config);
   config.objectClass(Item.class).indexed(false);
 }
 protected void configure(Configuration config) throws Exception {
   config.generateCommitTimestamps(true);
 }
 protected void configure(Configuration config) {
   config.objectClass(CreateIndexInheritedTestCase.class).objectField("i_int").indexed(true);
   config.objectClass(CreateIndexFor.class).objectField("i_name").indexed(true);
 }
示例#5
0
 protected void configure(Configuration config) throws Exception {
   config.objectClass(Item.class).objectField(FIELD_NAME).indexed(true);
 }
 protected void configure(Configuration config) {
   config.objectClass(this).objectField("atom").indexed(true);
   config.objectClass(IndexedByIdentityTestCase.class).cascadeOnUpdate(true);
 }
 protected void configure(Configuration config) {
   config.updateDepth(Integer.MAX_VALUE);
 }