Class Configuration

java.lang.Object
org.mybatis.generator.config.Configuration

public class Configuration extends Object
  • Constructor Details

    • Configuration

      public Configuration()
  • Method Details

    • addClasspathEntry

      public void addClasspathEntry(String entry)
    • getClassPathEntries

      public List<String> getClassPathEntries()
    • validate

      public void validate() throws InvalidConfigurationException
      This method does a simple validate, it makes sure that all required fields have been filled in and that all implementation classes exist and are of the proper type. It does not do any more complex operations such as: validating that database tables exist or validating that named columns exist
      Throws:
      InvalidConfigurationException - the invalid configuration exception
    • getContexts

      public List<Context> getContexts()
    • addContext

      public void addContext(Context context)