|
||||||||||
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()
|
java.sql.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 java.sql.Statement createStatement() throws java.sql.SQLException
createStatement
in interface java.sql.Connection
createStatement
in class ConnectionAdapter
java.sql.SQLException
public void close() throws java.sql.SQLException
close
in interface java.sql.Connection
close
in class ConnectionAdapter
java.sql.SQLException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |