|
DBAbstract API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--ro.raducora.connection.client.db.ClientDBAdapter
| Constructor Summary | |
ClientDBAdapter(ClientDBProps props)
Load Properties |
|
| Method Summary | |
java.lang.Object |
clone()
Is Cloneable |
void |
connect(ConnectInfo info)
Connect to database |
void |
disconnect()
Disconnect |
java.lang.Object |
getConnectionStatus()
Gets the connection status returned by the connect method |
boolean |
isAbstractConnection()
Return false; |
boolean |
isConnected()
Returns true if connected |
java.lang.Object |
queryObject(java.lang.Object sent)
Sends a query and returns the resulting Object(ResultSet or Integer) |
void |
reloadProperties()
Reload ClientDBProps properties |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ClientDBAdapter(ClientDBProps props)
props - Client DB properties| Method Detail |
public java.lang.Object queryObject(java.lang.Object sent)
throws java.sql.SQLException
queryObject in interface AdapterBasejava.sql.SQLExceptionAdapterBase.queryObject(java.lang.Object)public boolean isConnected()
isConnected in interface AdapterBase
public void connect(ConnectInfo info)
throws java.lang.Exception
connect in interface AdapterBaseinfo - the connection info
java.lang.Exception
public void disconnect()
throws java.sql.SQLException
disconnect in interface AdapterBasejava.sql.SQLException
public void reloadProperties()
throws java.lang.Exception
reloadProperties in interface AdapterBasejava.lang.Exception
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
clone in interface AdapterBaseclone in class java.lang.Objectjava.lang.CloneNotSupportedExceptionpublic boolean isAbstractConnection()
isAbstractConnection in interface AdapterBasepublic java.lang.Object getConnectionStatus()
connect method
getConnectionStatus in interface AdapterBase
|
DBAbstract API Documentation | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||