Issue Details (XML | Word | Printable)

Key: NUCRDBMS-778
Type: Improvement Improvement
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 Store RDBMS

Update mapping/mappingClass lookup process to allow for TypeConverter specified via jdbcType

Created: 22/Mar/14 07:36 PM   Updated: 02/Apr/14 04:28 PM   Resolved: 23/Mar/14 04:33 PM
Component/s: Types
Affects Version/s: None
Fix Version/s: 4.0.0.m2


 Description  « Hide
If a user has a class with a field of type X and this type has no XXXMapping class but has several possible TypeConverter classes we should look at the jdbcType to decide which of the TypeConverters to use. The code in
RDBMSMappingManager.getMapping(Table table, AbstractMemberMetaData mmd, ClassLoaderResolver clr, int fieldRole)
will need updates to handle this.

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 23/Mar/14 04:33 PM
GitHub master now supports finding the TypeConverter appropriate for the ColumnMetaData jabdType