The java.util.Date is not a POJO and also not part of known supported type (currently only URI, URL and UUID are specially handled).
Also, instead of keep adding special case to several classes (namely ReflectionSchemaGenerator, DatumWriterGenerator (ASM generator), ReflectionDatumWriter and ReflectionDatumReader), it better to a pluggable way to add new special mapping from non POJO type to schema and datum reader/writer).
|