Issue Details (XML | Word | Printable)

Key: NUCCORE-655
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0
Operations

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

Attempt to locate implementation of persistence interface can fail to find metadata

Created: 23/Feb/11 05:37 PM   Updated: 04/Oct/12 05:02 PM   Resolved: 23/Feb/11 05:52 PM
Component/s: Persistence
Affects Version/s: None
Fix Version/s: 3.0.0.m2


 Description  « Hide
If you try to locate an implementation of a persistent interface it can call through to (rdbms) LocateRequest and this tries to get the metadata for the owner of the table (the implementation of the persistent interface). This calls to MetaDataManager.getMetaDataForClass(className) but the class cannot be instantiated (since presumably in a different loader).

We should just check the cache of loaded metadata and return it if present

Andy Jefferson added a comment - 23/Feb/11 05:52 PM
SVN trunk has this, and should improve performance slightly

Andy Jefferson made changes - 23/Feb/11 05:52 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0.0.m2 [ 11150 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 07/Mar/11 05:34 PM
Status Resolved [ 5 ] Closed [ 6 ]
Andy Jefferson made changes - 04/Oct/12 05:02 PM
Component/s Persistence [ 10200 ]
Component/s JDO [ 10201 ]