|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Database
Implementations of this interface represent a database. progress.
| Method Summary | |
|---|---|
void |
close()
Closes the db connection. |
boolean |
connect(java.lang.String user,
java.lang.String password,
java.lang.String host)
Connects to the db with the given username, password and host. |
java.sql.ResultSet |
executeQuerie(java.lang.String querie)
Executes the given Querie. |
java.sql.Connection |
getConnection()
Returns the connection. |
java.lang.String |
getInfo()
Returns some informations about the db. |
boolean |
isConnected()
Returns true, if the db is connected. |
| Method Detail |
|---|
boolean connect(java.lang.String user,
java.lang.String password,
java.lang.String host)
user - password - host -
void close()
boolean isConnected()
java.lang.String getInfo()
java.sql.ResultSet executeQuerie(java.lang.String querie)
querie -
java.sql.Connection getConnection()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||