ajax.dbase
Class DatabaseConnection
java.lang.Object
|
+--ajax.dbase.DatabaseConnection
- public class DatabaseConnection
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
databaseConnection
public static DatabaseConnection databaseConnection()
- Singleton
openConnection
public void openConnection()
closeConnection
public void closeConnection()
setConnectionData
public void setConnectionData(java.lang.String user,
java.lang.String password,
java.lang.String url)
getConnection
public java.sql.Connection getConnection()
getStatement
public java.sql.Statement getStatement()
setDBTransfer
public void setDBTransfer(DatabaseTransfer dbTransfer)
- Sets the database transfer mode corresponding to the RDBMS used
getDBTransfer
public DatabaseTransfer getDBTransfer()
- Returns the current database transfer mode