Issue Details (XML | Word | Printable)

Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus API JDO

Support bulk update/delete via typesafe API

Created: 29/Mar/11 06:11 PM   Updated: 01/Apr/11 05:23 PM   Resolved: 30/Mar/11 03:50 PM
Component/s: API
Affects Version/s: None
Fix Version/s: 3.0.0.m3

 Description  « Hide
Makes sense to provide
JDOTypesafeQuery tq = ...


tq.update(cand.field, val, cand.field2, val2);

Andy Jefferson added a comment - 30/Mar/11 03:50 PM
SVN trunk allows this now, but update is done as follows
tq.set(cand.field1, "New Value).set(cand.field2, 25).update();

Andy Jefferson made changes - 30/Mar/11 03:50 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Apr/11 05:23 PM
Status Resolved [ 5 ] Closed [ 6 ]