|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.objectweb.rmijdbc.RJConnection
org.eigenbase.jdbc4.UnwrappableRJConnection
net.sf.farrago.jdbc.client.FarragoRJConnection
public class FarragoRJConnection
JDBC connection to Farrago across an RMI transport.
It is paired with an FarragoRJConnectionServer via RMI.
| Field Summary | |
|---|---|
private static long |
serialVersionUID
SerialVersionUID created with JDK 1.5 serialver tool. |
| Fields inherited from class org.objectweb.rmijdbc.RJConnection |
|---|
rmiConnection_ |
| Fields inherited from interface java.sql.Connection |
|---|
TRANSACTION_NONE, TRANSACTION_READ_COMMITTED, TRANSACTION_READ_UNCOMMITTED, TRANSACTION_REPEATABLE_READ, TRANSACTION_SERIALIZABLE |
| Constructor Summary | |
|---|---|
protected |
FarragoRJConnection(org.objectweb.rmijdbc.RJConnectionInterface rmiconn)
|
|
FarragoRJConnection(org.objectweb.rmijdbc.RJDriverInterface drv,
String url,
Properties info)
|
| Method Summary | |
|---|---|
Array |
createArrayOf(String typeName,
Object[] elements)
|
Blob |
createBlob()
|
Clob |
createClob()
|
NClob |
createNClob()
|
SQLXML |
createSQLXML()
|
Struct |
createStruct(String typeName,
Object[] attributes)
|
String |
findMofId(String wrapperName)
|
Properties |
getClientInfo()
|
String |
getClientInfo(String name)
|
private FarragoRJConnectionInterface |
getFarragoRmiCon()
|
long |
getFarragoSessionId()
|
FarragoMedDataWrapperInfo |
getWrapper(String mofId,
String libraryName,
Properties options)
|
boolean |
isValid(int timeout)
|
void |
setClientInfo(Properties props)
|
void |
setClientInfo(String name,
String value)
|
| Methods inherited from class org.objectweb.rmijdbc.RJConnection |
|---|
clearWarnings, close, commit, createStatement, createStatement, createStatement, getAutoCommit, getCatalog, getHoldability, getMetaData, getTransactionIsolation, getTypeMap, getWarnings, isClosed, isReadOnly, nativeSQL, prepareCall, prepareCall, prepareCall, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, prepareStatement, releaseSavepoint, rollback, rollback, setAutoCommit, setCatalog, setHoldability, setReadOnly, setSavepoint, setSavepoint, setTransactionIsolation, setTypeMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
| Constructor Detail |
|---|
protected FarragoRJConnection(org.objectweb.rmijdbc.RJConnectionInterface rmiconn)
public FarragoRJConnection(org.objectweb.rmijdbc.RJDriverInterface drv,
String url,
Properties info)
throws Exception
Exception| Method Detail |
|---|
private FarragoRJConnectionInterface getFarragoRmiCon()
public long getFarragoSessionId()
throws SQLException
getFarragoSessionId in interface FarragoConnectionSQLException
public String findMofId(String wrapperName)
throws SQLException
findMofId in interface FarragoConnectionSQLException
public FarragoMedDataWrapperInfo getWrapper(String mofId,
String libraryName,
Properties options)
throws SQLException
getWrapper in interface FarragoConnectionSQLException
public Struct createStruct(String typeName,
Object[] attributes)
throws SQLException
SQLException
public Array createArrayOf(String typeName,
Object[] elements)
throws SQLException
SQLException
public Properties getClientInfo()
throws SQLException
SQLException
public String getClientInfo(String name)
throws SQLException
SQLException
public void setClientInfo(String name,
String value)
public void setClientInfo(Properties props)
public boolean isValid(int timeout)
public SQLXML createSQLXML()
throws SQLException
SQLException
public NClob createNClob()
throws SQLException
SQLException
public Clob createClob()
throws SQLException
SQLException
public Blob createBlob()
throws SQLException
SQLException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||