|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsimpledb.remote.ConnectionAdapter
simpledb.remote.SimpleConnection
public class SimpleConnection
An adapter class that wraps RemoteConnection. Its methods do nothing except transform RemoteExceptions into SQLExceptions.
| Field Summary |
|---|
| Fields inherited from interface java.sql.Connection |
|---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
| Constructor Summary | |
|---|---|
SimpleConnection(RemoteConnection c)
|
|
| Method Summary | |
|---|---|
void |
close()
|
Statement |
createStatement()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimpleConnection(RemoteConnection c)
| Method Detail |
|---|
public Statement createStatement()
throws SQLException
createStatement in interface ConnectioncreateStatement in class ConnectionAdapterSQLException
public void close()
throws SQLException
close in interface Connectionclose in class ConnectionAdapterSQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||