|
org.net2map.pov.server.DatabaseConnection Class ReferenceInheritance diagram for org.net2map.pov.server.DatabaseConnection:
[legend]Collaboration diagram for org.net2map.pov.server.DatabaseConnection:
[legend]List of all members.
Detailed Description
DatabaseConnection object provides services to maintain a database connection.
Definition at line 27 of file DatabaseConnection.java.
|
Public Member Functions |
| | DatabaseConnection (ParameterSet params) |
| | Main constructor.
|
| boolean | isOpened () |
| | Test if the connection is opened.
|
| void | open () throws Exception |
| | Open the database using the database parameters contained in ParameterSet passed into the constructor.
|
| void | close () throws SQLException |
| | Close the current connection to the database.
|
| Statement | execute (String query) throws SQLException |
| | Execute the SQL query entered in parameter and return the corresponding Statement object.
|
Private Attributes |
| Connection | pConnection |
| ParameterSet | pParameters |
Constructor & Destructor Documentation
Member Function Documentation
Here is the call graph for this function:
| Statement org.net2map.pov.server.DatabaseConnection.execute |
( |
String |
query |
) |
throws SQLException |
|
Here is the call graph for this function:
Member Data Documentation
The documentation for this class was generated from the following file:
|
|