org.mybatis.generator.maven
Class SqlScriptRunner
java.lang.Object
org.mybatis.generator.maven.SqlScriptRunner
public class SqlScriptRunner
- extends Object
This class is used to execute an SQL script before a code generation
run if necessary. Note that this class mainly exists to support the
MyBatis Generator build. It is intentionally not documented and not
supported.
- Author:
- Jeff Butler
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SqlScriptRunner
public SqlScriptRunner(String sourceFile,
String driver,
String url,
String userId,
String password)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
executeScript
public void executeScript()
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
getDriver
public String getDriver()
setDriver
public void setDriver(String driver)
getPassword
public String getPassword()
setPassword
public void setPassword(String password)
setLog
public void setLog(org.apache.maven.plugin.logging.Log log)
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.