private void configureAbstractEntity(Configuration config) {
ObjectClass abstractEntityClass = config.objectClass(AbstractEntity.class);
ObjectField idField = abstractEntityClass.objectField("fId");
idField.indexed(true); //$NON-NLS-1$
idField.cascadeOnActivate(true); //$NON-NLS-1$
abstractEntityClass.objectField("fProperties").cascadeOnUpdate(true); //$NON-NLS-1$
}
private void configureSearchMark(Configuration config) {
ObjectClass oc = config.objectClass(SearchMark.class);
oc.objectField("fSearchConditions").cascadeOnUpdate(true); //$NON-NLS-1$