Codota Logo
Configuration$Builder
Code IndexAdd Codota to your IDE (free)

How to use
Configuration$Builder
in
cn.mybatisboost.core

Best Java code snippets using cn.mybatisboost.core.Configuration$Builder (Showing top 2 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
FileOutputStream f =
  • Codota IconFile file;new FileOutputStream(file)
  • Codota IconString name;new FileOutputStream(name)
  • Codota IconFile file;new FileOutputStream(file, true)
  • Smart code suggestions by Codota
}
origin: zhang-rf/mybatis-boost

@Bean
@ConditionalOnMissingBean
public cn.mybatisboost.core.Configuration configuration()
    throws IllegalAccessException, InstantiationException {
  cn.mybatisboost.core.Configuration.Builder builder =
      cn.mybatisboost.core.Configuration.builder()
          .setMultipleDatasource(properties.isMultipleDatasource())
          .setIterateSelectiveInBatch(properties.isIterateSelectiveInBatch())
          .setShowQuery(properties.isShowQuery())
          .setShowQueryWithParameters(properties.isShowQueryWithParameters())
          .setSlowQueryThresholdInMillis(properties.getSlowQueryThresholdInMillis());
  if (properties.getNameAdaptor() != null) {
    builder.setNameAdaptor(properties.getNameAdaptor().newInstance());
  } else {
    builder.setNameAdaptor(new NoopNameAdaptor());
  }
  if (properties.getSlowQueryHandler() != null) {
    builder.setSlowQueryHandler(properties.getSlowQueryHandler().newInstance());
  }
  return builder.build();
}
origin: zhang-rf/mybatis-boost

public static Builder builder() {
  return new Builder();
}
cn.mybatisboost.coreConfiguration$Builder

Most used methods

  • <init>
  • build
  • setIterateSelectiveInBatch
  • setMultipleDatasource
  • setNameAdaptor
  • setShowQuery
  • setShowQueryWithParameters
  • setSlowQueryHandler
  • setSlowQueryThresholdInMillis

Popular in Java

  • Making http post requests using okhttp
  • notifyDataSetChanged (ArrayAdapter)
  • onRequestPermissionsResult (Fragment)
  • putExtra (Intent)
  • FlowLayout (java.awt)
    A flow layout arranges components in a left-to-right flow, much like lines of text in a paragraph. F
  • IOException (java.io)
    Signals that an I/O exception of some sort has occurred. This class is the general class of exceptio
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • IsNull (org.hamcrest.core)
    Is the value null?
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now