/** * Will create a DynamicMapper on the specified type. * @param target the type * @param <T> the jdbcMapper target type * @return the DynamicMapper */ public <T> DynamicJdbcMapper<T> newMapper(final Type target) { final ClassMeta<T> classMeta = getClassMeta(target); return new DynamicJdbcSetRowMapper<T>(new SetRowMapperFactory<T>(classMeta), new MapperKeyFactory(), new MapperKeyFactory()); }
/** * Will create a DynamicMapper on the specified type. * @param target the type * @param <T> the jdbcMapper target type * @return the DynamicMapper */ public <T> DynamicJdbcMapper<T> newMapper(final Type target) { final ClassMeta<T> classMeta = getClassMeta(target); return new DynamicJdbcSetRowMapper<T>(new SetRowMapperFactory<T>(classMeta), new MapperKeyFactory(), new MapperKeyFactory()); }