org.apache.ibatis.session.Configuration.isAggressiveLazyLoading()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(3.3k)|赞(0)|评价(0)|浏览(103)

本文整理了Java中org.apache.ibatis.session.Configuration.isAggressiveLazyLoading()方法的一些代码示例,展示了Configuration.isAggressiveLazyLoading()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Configuration.isAggressiveLazyLoading()方法的具体详情如下:
包路径:org.apache.ibatis.session.Configuration
类名称:Configuration
方法名:isAggressiveLazyLoading

Configuration.isAggressiveLazyLoading介绍

暂无

代码示例

代码示例来源:origin: camunda/camunda-bpm-platform

private EnhancedResultObjectProxyImpl(Class<?> type, ResultLoaderMap lazyLoader, Configuration configuration, ObjectFactory objectFactory, List<Class<?>> constructorArgTypes, List<Object> constructorArgs) {
 this.type = type;
 this.lazyLoader = lazyLoader;
 this.aggressive = configuration.isAggressiveLazyLoading();
 this.lazyLoadTriggerMethods = configuration.getLazyLoadTriggerMethods();
 this.objectFactory = objectFactory;
 this.constructorArgTypes = constructorArgTypes;
 this.constructorArgs = constructorArgs;
}

代码示例来源:origin: camunda/camunda-bpm-platform

private EnhancedResultObjectProxyImpl(Class<?> type, ResultLoaderMap lazyLoader, Configuration configuration, ObjectFactory objectFactory, List<Class<?>> constructorArgTypes, List<Object> constructorArgs) {
 this.type = type;
 this.lazyLoader = lazyLoader;
 this.aggressive = configuration.isAggressiveLazyLoading();
 this.lazyLoadTriggerMethods = configuration.getLazyLoadTriggerMethods();
 this.objectFactory = objectFactory;
 this.constructorArgTypes = constructorArgTypes;
 this.constructorArgs = constructorArgs;
}

代码示例来源:origin: org.mybatis/mybatis

private EnhancedResultObjectProxyImpl(Class<?> type, ResultLoaderMap lazyLoader, Configuration configuration, ObjectFactory objectFactory, List<Class<?>> constructorArgTypes, List<Object> constructorArgs) {
 this.type = type;
 this.lazyLoader = lazyLoader;
 this.aggressive = configuration.isAggressiveLazyLoading();
 this.lazyLoadTriggerMethods = configuration.getLazyLoadTriggerMethods();
 this.objectFactory = objectFactory;
 this.constructorArgTypes = constructorArgTypes;
 this.constructorArgs = constructorArgs;
}

代码示例来源:origin: org.mybatis/mybatis

private EnhancedResultObjectProxyImpl(Class<?> type, ResultLoaderMap lazyLoader, Configuration configuration, ObjectFactory objectFactory, List<Class<?>> constructorArgTypes, List<Object> constructorArgs) {
 this.type = type;
 this.lazyLoader = lazyLoader;
 this.aggressive = configuration.isAggressiveLazyLoading();
 this.lazyLoadTriggerMethods = configuration.getLazyLoadTriggerMethods();
 this.objectFactory = objectFactory;
 this.constructorArgTypes = constructorArgTypes;
 this.constructorArgs = constructorArgs;
}

代码示例来源:origin: com.talanlabs/component-mybatis

public ComponentInvocationHandler(Class<E> componentClass, E component, ResultLoaderMap lazyLoader, Configuration configuration) {
  super();
  this.componentDescriptor = ComponentFactory.getInstance().getDescriptor(componentClass);
  this.component = component;
  this.lazyLoader = lazyLoader;
  this.aggressive = configuration.isAggressiveLazyLoading();
}

代码示例来源:origin: org.apache.ibatis/ibatis-core

protected Object createResultObject(ResultSet rs, ResultMap resultMap, ResultLoaderMap lazyLoader) throws SQLException {
 final Object resultObject = createResultObject(rs, resultMap);
 if (resultObject != null && configuration.isLazyLoadingEnabled()) {
  return ResultObjectProxy.createProxy(resultObject, lazyLoader, configuration.isAggressiveLazyLoading());
 }
 return resultObject;
}

相关文章

微信公众号

最新文章

更多

Configuration类方法