DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Key: NUCCORE-607
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 Core

JDOQL : Allow bulk UPDATE/DELETE "statements"

Created: 28/Nov/10 08:11 PM   Updated: 10/Dec/10 07:48 AM   Resolved: 28/Nov/10 08:51 PM
Component/s: Queries
Affects Version/s: None
Fix Version/s: 2.2.0.release

 Description  « Hide
Although not part of JDO, would be nice to allow a user to specify
DELETE FROM mydomain.MyClass WHERE ...

UPDATE mydomain.MyClass SET fld=val, fld2=val2 WHERE ...

and enable it by way of a persistence property

Andy Jefferson added a comment - 28/Nov/10 08:51 PM
SVN trunk allows this. Just set the persistence property
and then you can do

DELETE FROM mydomain.MyClass WHERE ...

UPDATE mydomain.MyClass SET fld1=val1, fld2=val2 WHERE ...

Andy Jefferson made changes - 28/Nov/10 08:51 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Fix Version/s 2.2.0.release [ 10931 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 10/Dec/10 07:48 AM
Status Resolved [ 5 ] Closed [ 6 ]