public Builder(Configuration configuration, String property) { resultMapping.configuration = configuration; resultMapping.property = property; resultMapping.flags = new ArrayList<org.apache.ibatis.mapping.ResultFlag>(); resultMapping.composites = new ArrayList<org.apache.ibatis.mapping.ResultMapping>(); resultMapping.lazy = configuration.isLazyLoadingEnabled(); }
public Builder lazy(boolean lazy) { resultMapping.lazy = lazy; return this; }