Package com.ibatis.sqlmap.engine.builder

Examples of com.ibatis.sqlmap.engine.builder.XmlSqlMapConfigParser


   * @param reader A Reader instance that reads an sql-map-config.xml file.
   *               The reader should read an well formed sql-map-config.xml file.
   * @return An SqlMapClient instance.
   */
  public static SqlMapClient buildSqlMapClient(Reader reader) {
    XmlSqlMapConfigParser configParser = new XmlSqlMapConfigParser(reader);
    configParser.parse();
    return new SqlMapClientImpl((Ibatis2Configuration) configParser.getConfiguration());
  }
View Full Code Here


   *               in the sql-map-config.xml configuration file.  This provides an easy way to
   *               achieve some level of programmatic configuration.
   * @return An SqlMapClient instance.
   */
  public static SqlMapClient buildSqlMapClient(Reader reader, Properties props) {
    XmlSqlMapConfigParser configParser = new XmlSqlMapConfigParser(reader, props);
    configParser.parse();
    return new SqlMapClientImpl((Ibatis2Configuration) configParser.getConfiguration());
  }
View Full Code Here

TOP

Related Classes of com.ibatis.sqlmap.engine.builder.XmlSqlMapConfigParser

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.