org.mybatis.generator.internal.db
Class ConnectionFactory
java.lang.Object
org.mybatis.generator.internal.db.ConnectionFactory
public class ConnectionFactory
- extends Object
This class assumes that classes are cached elsewhere for performance reasons,
but also to make sure that any native libraries are only loaded one time
(avoids the dreaded UnsatisfiedLinkError library loaded in another
classloader)
- Author:
- Jeff Butler
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getInstance
public static ConnectionFactory getInstance()
getConnection
public Connection getConnection(JDBCConnectionConfiguration config)
throws SQLException
- Throws:
SQLException
Copyright © 2010-2012 MyBatis.org. All Rights Reserved.