Class DriverManagerConnectionCreator
- java.lang.Object
-
- org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator
-
- org.hibernate.engine.jdbc.connections.internal.DriverManagerConnectionCreator
-
public class DriverManagerConnectionCreator extends BasicConnectionCreator
A specializedConnectionCreator
which usesDriverManager.getConnection(String, Properties)
to obtain JDBC connections.
-
-
Constructor Summary
Constructors Constructor Description DriverManagerConnectionCreator(ServiceRegistryImplementor serviceRegistry, String url, Properties connectionProps, Boolean autocommit, Integer isolation, String initSql)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Connection
makeConnection(String url, Properties connectionProps)
-
Methods inherited from class org.hibernate.engine.jdbc.connections.internal.BasicConnectionCreator
convertSqlException, createConnection, getConnectionProperties, getUrl
-
-
-
-
Constructor Detail
-
DriverManagerConnectionCreator
public DriverManagerConnectionCreator(ServiceRegistryImplementor serviceRegistry, String url, Properties connectionProps, Boolean autocommit, Integer isolation, String initSql)
-
-
Method Detail
-
makeConnection
protected Connection makeConnection(String url, Properties connectionProps)
- Specified by:
makeConnection
in classBasicConnectionCreator
-
-