public interface ConnectionSpec
| Modifier and Type | Method and Description |
|---|---|
void |
accept(ConnectionSpecVisitor connectionSpecVisitor)
Performs some processing on this connection spec.
|
DatabaseProduct |
getDatabaseProduct() |
DatabaseVersion |
getDatabaseVersion() |
Driver |
getDriver() |
DriverVersion |
getDriverVersion() |
Connection |
getOrCreate()
Returns a connection to a SQL database that may be new or part of a
connection pool.
|
boolean |
isAutoCommitEnabled() |
Connection getOrCreate() throws SQLException
Connection.SQLException - if an error occurs getting the connection.boolean isAutoCommitEnabled()
DatabaseProduct getDatabaseProduct() throws SQLException
SQLExceptionDatabaseVersion getDatabaseVersion() throws SQLException
SQLExceptionDriver getDriver() throws SQLException
SQLExceptionDriverVersion getDriverVersion() throws SQLException
SQLExceptionvoid accept(ConnectionSpecVisitor connectionSpecVisitor)
connectionSpecVisitor - a ConnectionSpecVisitor.Copyright © 2012–2020 Emory University. All rights reserved.