public abstract class BasicConnectionCreator extends Object
Constructor and Description |
---|
BasicConnectionCreator(ServiceRegistryImplementor serviceRegistry,
String url,
Properties connectionProps,
boolean autocommit,
Integer isolation) |
Modifier and Type | Method and Description |
---|---|
protected JDBCException |
convertSqlException(String message,
SQLException e) |
Connection |
createConnection()
Create a Connection
|
String |
getUrl()
Obtain the URL to which this creator connects.
|
protected abstract Connection |
makeConnection(String url,
Properties connectionProps) |
public BasicConnectionCreator(ServiceRegistryImplementor serviceRegistry, String url, Properties connectionProps, boolean autocommit, Integer isolation)
public String getUrl()
public Connection createConnection()
protected JDBCException convertSqlException(String message, SQLException e)
protected abstract Connection makeConnection(String url, Properties connectionProps)
Copyright © 2021 JBoss by Red Hat. All rights reserved.