public class SMYLDODBCConnection extends DBConnection
connected, connectionListeners, DB_RECONNECT_SLEEP_TIME, dbConnection, internalConnectionListeners, reconnecting, settings| Constructor | Description |
|---|---|
SMYLDODBCConnection(java.lang.String path) |
|
SMYLDODBCConnection(java.lang.String newUserName,
java.lang.String newUserPass,
java.lang.String newDBName) |
| Modifier and Type | Method | Description |
|---|---|---|
java.sql.Connection |
createConnection() |
|
java.sql.Connection |
getConnection() |
This methode will return the data base connection according to the
required distination and will be updated from time to time, to fullfill
the required environment
|
java.lang.String |
getDB_URL() |
addDBConnectionListener, addDBConnectionListener, addInternalDBConnectionListener, addInternalDBConnectionListener, clone, detectConnectionError, getConnectionPath, getSettings, isConnected, isReconnecting, loadDBParams, reconnect, releaseConnections, run, setConnectionPath, setSettingspublic SMYLDODBCConnection(java.lang.String newUserName,
java.lang.String newUserPass,
java.lang.String newDBName)
public SMYLDODBCConnection(java.lang.String path)
public java.sql.Connection getConnection()
getConnection in class DBConnectionjava.sql.SQLException - if the connection to the database failedpublic java.sql.Connection createConnection()
throws java.sql.SQLException
createConnection in class DBConnectionjava.sql.SQLExceptionpublic java.lang.String getDB_URL()
Copyright © 2019 SMYLD. All rights reserved.