Tracing.logError("Should generate error for rollback and not reach this code",getClass());
}
private void doTestMixTransactionalError() {
DB db = DBFactory.getInstance();
PropertyManager pm = PropertyManager.getInstance();
Property p1 = pm.createPropertyInstance(null, null, null, propertyCategory, propertyKey1, null, null, "doTestMixTransactional_1", null);
pm.saveProperty(p1);
// name is null => generated DB error => rollback
Property p2 = pm.createPropertyInstance(null, null, null, propertyCategory, null, null, null, "doTestMixTransactional_2", null);
pm.saveProperty(p2);
getWindowControl().setError("Should generate error for rollback!");
Tracing.logError("Should generate error for rollback and not reach this code",getClass());
}