Issue Details (XML | Word | Printable)

Key: NUCJPA-212
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Andy Jefferson
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

Allow em.persist(), merge(), detach(), remove() to take array/Collection of entities

Created: 30/Jan/13 10:15 AM   Updated: 01/Feb/13 07:40 AM   Resolved: 30/Jan/13 12:34 PM
Component/s: API
Affects Version/s: None
Fix Version/s: 3.2.0.m3


 Description  « Hide
Currently we only support em.persist taking in an entity. The signature of the method allows the user to pass in a Collection or an array of entities. Let's support that. Same for merge/remove/detach

Andy Jefferson made changes - 30/Jan/13 11:05 AM
Field Original Value New Value
Summary Allow em.persist() to take array/Collection of entities Allow em.persist(), merge(), detach(), remove() to take array/Collection of entities
Fix Version/s 3.2.0.m3 [ 11860 ]
Description Currently we only support em.persist taking in an entity. The signature of the method allows the user to pass in a Collection or an array of entities. Let's support that Currently we only support em.persist taking in an entity. The signature of the method allows the user to pass in a Collection or an array of entities. Let's support that. Same for merge/remove/detach
Andy Jefferson added a comment - 30/Jan/13 12:34 PM
SVN trunk now supports passing in Collection or array of entities into persist(), remove(), merge() and detach().

Andy Jefferson made changes - 30/Jan/13 12:34 PM
Status Open [ 1 ] Resolved [ 5 ]
Assignee Andy Jefferson [ andy ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 01/Feb/13 07:40 AM
Status Resolved [ 5 ] Closed [ 6 ]