Issue Details (XML | Word | Printable)

Key: OPENJPA-263
Type: New Feature New Feature
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Daniel Lee
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
OpenJPA

Introducing getAll(List) method for data cache to be called by loadAll() will allow data cache plug-ins to leverage the advantage of any third-party cache that provides a way to get multiple object in one call by providing a list of keys (oids).

Created: 22/Jun/07 10:56 PM   Updated: 07/Aug/07 05:03 PM
Return to search
Component/s: datacache
Affects Version/s: 1.0.0
Fix Version/s: 1.0.0

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works OpenJPA-263.patch 2007-07-20 08:31 PM Daniel Lee 14 kB
Microsoft Word Licensed for inclusion in ASF works OpenJPAJIRA.doc 2007-06-22 11:07 PM Daniel Lee 28 kB

Resolution Date: 07/Aug/07 05:03 PM


 Description  « Hide
OpenJPA: 5 files to be donated to OpenJPA: (changed, no new file)
There are changes to the following 5 files which will be donated to OpenJPA to be able to leverage ObjectGrid map agent to improve the performance on getting the relationship loaded.
(the donation is upon the approval of OpenJPA committee)

- org.apache.openjpa.datacache:
o AbstractPCData:
 toField: calling toNestedFields(new) instead of looping thru all elements in the field
(Implements the Collection only for now, may need to apply it to Map and Array)
 toNestedFields: (new)
 toRelationFields: (new) calls findAll()
- org.apache.openjpa.datacache:
o DataCacheStoreManager: enhance loadAll() to issue getAll() instead get()
o AbstractDataCache: add getAll() to abstract as default
o DataCache: add getAll() to interface
o DelegatingDataCache: add getAll() delegation

(Please see detail information in the attached Word document.)

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
No work has yet been logged on this issue.