Package com.lingbobu.flashdb.transfer.impl

Examples of com.lingbobu.flashdb.transfer.impl.OutputMySQL


  public OutputMySQL call(String dataSourceBean, String tableName, String modeName) {
    DataSource dataSource = beanFactory.getBean(dataSourceBean, DataSource.class);
    int mode = getMode(modeName);
    if (mode == OutputSQL.MODE_UPDATE)
      throw new RuntimeException("MODE_UPDATE must special updateColumns");
    return new OutputMySQL(dataSource, tableName, mode);
  }
View Full Code Here


    DataSource dataSource = beanFactory.getBean(dataSourceBean, DataSource.class);
    int mode = getMode(modeName);
    if (mode != OutputSQL.MODE_UPDATE)
      throw new RuntimeException("Only MODE_UPDATE can be special updateColumns");
    String[] aupdateColumns = StringUtils.split(updateColumns, ',');
    return new OutputMySQL(dataSource, tableName, aupdateColumns);
  }
View Full Code Here

TOP

Related Classes of com.lingbobu.flashdb.transfer.impl.OutputMySQL

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.