Hi,
I added object A of class Person (having 4 fields) using
hypergraph.add(A) method where hypergraph is an instance of Hypergraph class.
After that, I want to add another object B of the same Person class. Object A has values for all of its 4 fields whereas object B has values only for 2 fields. I give query:
hg.findOne(graph, hg.and(hg.type(Person.class), hg.eq(B))) to check the prior existence of B. But instead of null, the query returned the same HGHandle which was assigned for object A.
I tried the same thing with two other objects of a different class, which worked fine. I don't understand the behaviour of hg.findOne/hg.findAll (I tried both). Somebody please help me out.
Kind regards,
Aruna