public interface ConnectionAdapter extends CommandAdapter
Connection
representing a connection/session to a specific database (RDBMS or NoSQL).| Modifier and Type | Method and Description |
|---|---|
void |
autoCommitOff() |
void |
autoCommitOn() |
void |
close() |
void |
commit() |
String |
getContextName() |
Object |
getMetaData() |
boolean |
isAutoCommit() |
boolean |
isClosed() |
void |
rollback() |
Object |
unwrap() |
asAddCommand, asRemoveCommand, asSelectCommand, asUpdateCommandString getContextName()
getContextName in interface CommandAdaptervoid commit() throws SQLException
SQLExceptionvoid rollback() throws SQLException
SQLExceptionvoid close()
close in interface CommandAdapterboolean isClosed() throws SQLException
SQLExceptionboolean isAutoCommit() throws SQLException
SQLExceptionvoid autoCommitOn() throws SQLException
SQLExceptionvoid autoCommitOff() throws SQLException
SQLExceptionObject getMetaData()
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.