public class DatabaseSQLStatement
extends java.lang.Object
DatabaseSQLStatement
the class represents a sql statement.Constructor and Description |
---|
DatabaseSQLStatement(java.lang.String databaseSystem)
The constructor
DatabaseSQLStatement creates a new instance(object) of the class. |
Modifier and Type | Method and Description |
---|---|
void |
closeSqlStatement()
The method
closeSqlStatement closes the current sql statement. |
java.sql.Statement |
getSqlStatement()
The method
getSqlStatement gets a sql statement from the current connection. |
public DatabaseSQLStatement(java.lang.String databaseSystem) throws java.lang.Exception
DatabaseSQLStatement
creates a new instance(object) of the class.databaseSystem
- the current database system.java.lang.Exception
- if error.public java.sql.Statement getSqlStatement() throws java.lang.Exception
getSqlStatement
gets a sql statement from the current connection.java.lang.Exception
- if error.public void closeSqlStatement() throws java.lang.Exception
closeSqlStatement
closes the current sql statement.java.lang.Exception
- if error.