Hi,
the scenario posted here: searching for a John and getting a
Joe instead
Ok, so the use case is:
1) Get session and load a contact with name 'Joe'
2) Update the name property from 'Joe' to 'John'
3) Now, query the repo for the contact using the name 'Joe'
I would do this:
1) Node contact = ...getNode(...) // we have the node
2) contact.setProperty("name", "John")
contact.save()
3) ... query ...
Then everything works fine. No problem.
You _only_ have a problem if if you don't call 'save()'.
So why exactly don't you want to call 'save' first?
Thomas