public void testQuerySystemWithInheritance(){
Reference ref = new Reference();
ref.setValue("house");
Son son = new Son();
son.setData("data from son");
son.setSonName("child");
son.setDescription("parent description");
son.setReference(ref);
boolean value = admin.save(son);
System.out.println(value);
Son s = new Son();
admin.obtain(s, "reference.value = 'house'");
System.out.println(s.getReference().getValue().equalsIgnoreCase("house"));
System.out.println(s.getDescription().equalsIgnoreCase("parent description"));
}