| 程序包 | 说明 |
|---|---|
| org.mybatis.generator.api |
Provides the main classes and interfaces used by clients of MyBatis Generator.
|
| org.mybatis.generator.config | |
| org.mybatis.generator.internal | |
| org.mybatis.generator.plugins |
| 限定符和类型 | 类和说明 |
|---|---|
class |
PluginAdapter
This class includes no-operation methods for almost every method in the
Plugin interface.
|
| 限定符和类型 | 方法和说明 |
|---|---|
Plugin |
Context.getPlugins()
Gets the plugins.
|
| 限定符和类型 | 类和说明 |
|---|---|
class |
PluginAggregator
This class is for internal use only.
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Plugin |
ObjectFactory.createPlugin(Context context,
PluginConfiguration pluginConfiguration)
Creates a new Object object.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
PluginAggregator.addPlugin(Plugin plugin) |
| 限定符和类型 | 类和说明 |
|---|---|
class |
CachePlugin
This plugin adds a cache element to generated sqlMaps.
|
class |
CaseInsensitiveLikePlugin
This plugin demonstrates adding methods to the example class to enable
case-insensitive LIKE searches.
|
class |
EqualsHashCodePlugin
This plugin adds equals() and hashCode() methods to the generated model
classes.
|
class |
MapperConfigPlugin
This plugin generates a MapperConfig file containing mapper entries for SQL
maps generated for MyBatis3.
|
class |
RenameExampleClassPlugin
This plugin demonstrates overriding the initialized() method to rename the
generated example classes.
|
class |
RowBoundsPlugin
This plugin will add selectByExample methods that include rowBounds
parameters to the generated mapper interface.
|
class |
SerializablePlugin
This plugin adds the java.io.Serializable marker interface to all generated
model objects.
|
class |
SqlMapConfigPlugin
This plugin generates an SqlMapConfig file containing sqlMap entries for
all generated SQL maps.
|
class |
ToStringPlugin |
class |
VirtualPrimaryKeyPlugin
This plugin can be used to specify columns that act as a primary key, even if
they are not strictly defined as primary keys in the database.
|
Copyright © 2006–2016 MyBatis.org. All rights reserved.