JDBC driver

The plugin will scan the project's classpath to find jar with JDBC driver implementation in it and provide auto-completion while you're editing classPathEntry:

driver-classpath-entry

Custom extension

If you have custom classes that extend one of MBG's classes or implement one of MBG's interfaces, you can add them to classPathEntry tag where the location attribute value should be the absolute path to your class or jar files. There will be an inspection error if the location can't be resolved as an available file:

custom jar

The location will be added to the classpath of Mybatis generator when you run it, that's something like this: java -jar mybatis-generator-core.jar -cp location_attribute_values_of_class_path_entry

Codes Magic © 2013-2018 · Terms