[#650] Add a data type registry "org.jooq.impl.DataTypes" for cleaner DataType referencing - Added TODO
This commit is contained in:
parent
7cb6568873
commit
11db6b671f
@ -287,6 +287,8 @@ public final class FieldTypeHelper {
|
||||
Class<? extends T> type = field.getType();
|
||||
Class<?> actual = type;
|
||||
|
||||
// TODO [#650] This conversion code is still somewhat experimental...
|
||||
// conversion and fetching should be made more object-oriented
|
||||
Converter<?, ? extends T> converter = DataTypes.converter(type);
|
||||
if (converter != null) {
|
||||
actual = converter.fromType();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user