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

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

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 23/Feb/11 05:52 PM
SVN trunk has this, and should improve performance slightly