Package com.celum.dbplugin.resource

Examples of com.celum.dbplugin.resource.SqlDirResource



  protected void install(DbAccount account, File scriptsDir) throws MojoExecutionException, MojoFailureException
  {
    try {
      SqlScriptsResource res = new SqlDirResource(scriptsDir);

      if (templateContext != null) {
        res = new VelocityDecoratorResource(res, templateContext);
      }
View Full Code Here



  protected void upgrade(DbAccount account, File scriptsDir) throws MojoExecutionException, MojoFailureException
  {
    try {
      SqlScriptsResource res = new SqlDirResource(scriptsDir);

      if (versionSql != null && !versionSql.isEmpty()) {
        res = new DbVersionFilter(res, account.getConnection(), versionSql, stepPattern);
      }
View Full Code Here

TOP

Related Classes of com.celum.dbplugin.resource.SqlDirResource

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.