|
|||||||||
| Home >> All >> com >> loihl >> [ sqltool overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
com.loihl.sqltool
Class QueryImpl

java.lang.Objectjava.rmi.server.RemoteObject
java.rmi.server.RemoteServer
java.rmi.server.UnicastRemoteObject
com.loihl.sqltool.QueryImpl
- All Implemented Interfaces:
- Query, java.rmi.Remote, java.io.Serializable
- public class QueryImpl
- extends java.rmi.server.UnicastRemoteObject
- implements Query
- extends java.rmi.server.UnicastRemoteObject
Class QueryImpl
- Version:
- 0.5.0
| Field Summary | |
private java.sql.Connection |
sqlConnection
|
| Fields inherited from class java.rmi.server.UnicastRemoteObject |
|
| Fields inherited from class java.rmi.server.RemoteObject |
ref |
| Constructor Summary | |
QueryImpl()
Method: QueryImpl Description: constructor for Query class |
|
| Method Summary | |
javax.swing.table.DefaultTableModel |
execute(java.lang.String sql)
Method: execute Description: execute the sql statement that is passed in |
private javax.swing.table.DefaultTableModel |
executeSelect(java.lang.String sql)
Method: executeSelect Description: execute the sql statement that is passed in |
private javax.swing.table.DefaultTableModel |
executeUpdate(java.lang.String sql)
Method: executeUpdate Description: execute the sql statement that is passed in |
boolean |
setConnection(java.lang.String dbURL,
java.lang.String driver,
java.util.Properties props)
Method: setConnection Description: establishes a connection to the database, requests parameters from users |
| Methods inherited from class java.rmi.server.UnicastRemoteObject |
clone, exportObject, exportObject, exportObject, unexportObject |
| Methods inherited from class java.rmi.server.RemoteServer |
getClientHost, getLog, setLog |
| Methods inherited from class java.rmi.server.RemoteObject |
equals, getRef, hashCode, toString, toStub |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Field Detail |
sqlConnection
private java.sql.Connection sqlConnection
| Constructor Detail |
QueryImpl
public QueryImpl()
throws java.rmi.RemoteException
- Method: QueryImpl
Description: constructor for Query class
| Method Detail |
setConnection
public boolean setConnection(java.lang.String dbURL, java.lang.String driver, java.util.Properties props) throws java.rmi.RemoteException, java.sql.SQLException
- Method: setConnection
Description: establishes a connection to the database, requests
parameters from users
- Specified by:
setConnectionin interfaceQuery
execute
public javax.swing.table.DefaultTableModel execute(java.lang.String sql) throws java.rmi.RemoteException, java.sql.SQLException
- Method: execute
Description: execute the sql statement that is passed in
executeSelect
private javax.swing.table.DefaultTableModel executeSelect(java.lang.String sql) throws java.rmi.RemoteException, java.sql.SQLException
- Method: executeSelect
Description: execute the sql statement that is passed in
executeUpdate
private javax.swing.table.DefaultTableModel executeUpdate(java.lang.String sql) throws java.rmi.RemoteException, java.sql.SQLException
- Method: executeUpdate
Description: execute the sql statement that is passed in
|
|||||||||
| Home >> All >> com >> loihl >> [ sqltool overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC