Uses of Class
com.pugwoo.dbhelper.utils.DOInfoReader.RelatedField
Packages that use DOInfoReader.RelatedField
-
Uses of DOInfoReader.RelatedField in com.pugwoo.dbhelper.utils
Methods in com.pugwoo.dbhelper.utils that return types with arguments of type DOInfoReader.RelatedFieldModifier and TypeMethodDescriptionstatic List<DOInfoReader.RelatedField> DOInfoReader.getFieldByDBField(Class<?> clazz, String dbFieldName, Field relatedColumnField) 从db字段名拿字段对象。
新增支持@JoinTable的支持,可以获得JoinTable类中的对象的FieldMethod parameters in com.pugwoo.dbhelper.utils with type arguments of type DOInfoReader.RelatedFieldModifier and TypeMethodDescriptionstatic ObjectDOInfoReader.getValueForRelatedColumn(List<DOInfoReader.RelatedField> fields, Object object) 为relatedColumn获得字段的值。这里有特别的逻辑。 当fields只有一个时,返回的是对象本身;否则是一个List,里面是按顺序的fields的多个值