Issue Details (XML | Word | Printable)

Key: NUCCORE-1066
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

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

TypeConverter : utility method to find datastore type of a converter should fallback to any method called toDatastoreType

Created: 15/Aug/13 02:31 PM   Updated: 03/Sep/13 03:41 PM   Resolved: 15/Aug/13 02:32 PM
Component/s: Java Types
Affects Version/s: 3.1.5, 3.2.6
Fix Version/s: 3.2.7

 Description  « Hide
When we need to determine the datastore type of a TypeConverter we check for a method "toDatastoreType" taking an argument of the member type, returning the returnType. In some cases we don't have the precise member type (maybe be a superclass/subclass, or an interface), so we should then fallback to finding a method "toDatastoreType" and return the returnType.

Andy Jefferson added a comment - 15/Aug/13 02:32 PM
SVN trunk now does this

Andy Jefferson made changes - 15/Aug/13 02:32 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 03/Sep/13 03:41 PM
Status Resolved [ 5 ] Closed [ 6 ]