Package org.makersoft.shards

Examples of org.makersoft.shards.MyBatisShardsException


  public void setProperties(Properties properties) {
    String dialectClass = properties.getProperty("dialect");
    try {
      dialect = (Dialect) Class.forName(dialectClass).newInstance();
    } catch (Exception e) {
      throw new MyBatisShardsException("Can not create dialect instance by dialect:"
          + dialectClass, e);
    }
  }
View Full Code Here

TOP

Related Classes of org.makersoft.shards.MyBatisShardsException

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.