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, asUpdateCommand
String getContextName()
getContextName
in interface CommandAdapter
void commit() throws SQLException
SQLException
void rollback() throws SQLException
SQLException
void close()
close
in interface CommandAdapter
boolean isClosed() throws SQLException
SQLException
boolean isAutoCommit() throws SQLException
SQLException
void autoCommitOn() throws SQLException
SQLException
void autoCommitOff() throws SQLException
SQLException
Object getMetaData()
Copyright © 2012–2020 jkniv, copyleft code. All rights reserved.