public interface DBServerConnector
| Modifier and Type | Method and Description |
|---|---|
void |
closeConnectionManager(ConnectionManager manager)
Closes connections to the database server managed by the supplied connection manager.
|
ConnectionManager |
getConnectionManager(java.lang.String dbServerName)
Returns connection manager which manages the connections to a database server
with a given name.
|
ConnectionManager |
getConnectionManager(java.lang.String systemId,
java.util.Dictionary props)
Opens a connection to database server defined by the supplied properties and
returns connection manager for obtaining SQL connections.
|
ConnectionManager getConnectionManager(java.lang.String dbServerName) throws java.sql.SQLException
dbServerName - the name of the database server as defined in the mPRM database
configuration.java.sql.SQLException - if an error occured while trying to establish connection to
the database serverConnectionManager getConnectionManager(java.lang.String systemId, java.util.Dictionary props) throws java.sql.SQLException
props - dictionary with properties for connection establishment - URL, user name,
password, etc.java.sql.SQLException - if an error occured while trying to establish connection to
the database servervoid closeConnectionManager(ConnectionManager manager)
manager - connection manager representing db server connections being closed.Copyright © 2019 Bosch Software Innovations GmbH. All Rights Reserved.