
public interface DatabaseImpl extends AutoCloseable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close the database connection.
|
Connection |
getConnection()
Get a connection to the database.
|
org.jooq.SQLDialect |
getDialect()
Obtain the database dialect e.g.
|
void |
open(String dbName)
Open the database for connection.
|
void open(String dbName)
dbName - the name of the database to open/connect.void close()
close in interface AutoCloseableConnection getConnection() throws SQLException
SQLException - if the connection cannot be obtained.org.jooq.SQLDialect getDialect()
Copyright © 2015 University of Glasgow. All rights reserved.