if(type.getJdbcType().getKind().equals(JdbcTypeKind.Temporal)) { Date date = Converts.convert(string, Date.class); entry.setValue(date);
void mappingBeanProperty(MetaField f, BeanProperty bp) { if(null == bp) { return; } if(null != bp && !Strings.isEmpty(f.getType())) { MType mtype = MTypes.getMType(bp.getType(), bp.getGenericType()); if(mtype.isSimpleType()) { f.setType(mtype.asSimpleType().getJdbcType().getName()); if(MSimpleTypes.STRING.equals(mtype) && null == f.getLength()) { f.setLength(255); } } } }
c.setTypeName(st.getJdbcType().getName());