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-432
Type: Task Task
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

Initialisation of Mapping would be better with StoreManager than DatastoreAdapter

Created: 13/Dec/09 11:35 AM   Updated: 17/Mar/10 08:54 PM   Resolved: 13/Dec/09 12:38 PM
Component/s: Code Structure
Affects Version/s: None
Fix Version/s: 2.0.0.release

 Description  « Hide
We have 2 ways of initialising a JavaTypeMapping.
1. Using the member metadata and the table that it exists in
2. Using DatastoreAdapter and type name - when a parameter in a query.

The second method has inadequate info to try to add column(s), and would be better with the StoreManager itself. All places where this is called from have the StoreManager so not a major issue.

Andy Jefferson added a comment - 13/Dec/09 12:38 PM
SVN trunk cleans this up

Andy Jefferson made changes - 13/Dec/09 12:38 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 17/Mar/10 08:54 PM
Status Resolved [ 5 ] Closed [ 6 ]