System.out.println("description added".equalsIgnoreCase(((Collection2)tt.getCollection2().get(tt.getCollection2().size()-1)).getDescription()));
System.out.println(admin.delete(test));
}
public void testInheritanceQuery(){
Son2 son = new Son2();
son.setDescriptionSon("description - son");
son.setDescription2("description2");
son.setDescription1("description1");
Reference2 test = new Reference2();
test.setValue("value test reference");
son.setReferenceTest(test);
System.out.println(admin.save(son));
System.out.println(admin.obtain(son, "referenceTest.value = 'value test reference'"));
System.out.println("description - son".equalsIgnoreCase(son.getDescriptionSon()));
}