frenchdonuts / neoql

Automatically exported from code.google.com/p/neoql
0 stars 0 forks source link

Successive updates before a commit do not produce the expexted result #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. See the test case attached : the result is different if you call :
        database.update(myImmutableTable, NeoQL.is(myImmutableProperty), 
                MyImmutable.PROP1_COLUMN.set("prop1-up"),
                MyImmutable.PROP2_COLUMN.set("prop2-up"));

        database.commit();

or if you call :
        database.update(myImmutableTable, NeoQL.is(myImmutableProperty), 
                MyImmutable.PROP1_COLUMN.set("prop1-up-up"));
        database.update(myImmutableTable, NeoQL.is(myImmutableProperty), 
                MyImmutable.PROP2_COLUMN.set("prop2-up-up"));

        database.commit();

What is the expected output? What do you see instead?
Both properties should have been updated in the database. Instead only the 
first one is updated.

What version of the product are you using? On what operating system?
The last snapshot.

Please provide any additional information below.
See the test case attached.

Original issue reported on code.google.com by cantinbe@gmail.com on 16 Nov 2012 at 8:26

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
The test case.

Original comment by cantinbe@gmail.com on 16 Nov 2012 at 8:36

Attachments: