| java.lang.Object org.dbbrowser.drivermanager.DBBrowserDriverManager
DBBrowserDriverManager | public class DBBrowserDriverManager (Code) | | Used to get the connection to the database
|
getConnection | public Connection getConnection(ConnectionInfo connectionInfo, String masterPassword) throws DriverManagerException(Code) | | Get the connection. the 'name' attribute in the connectionInfo uniquely identifies a connection.
This class pools the connection and returns the same connection for subsequent calls with the 'same'
connectionInfo object. Do not close the connection as it is cached.
- For MySQL, the url is of the form jdbc:mysql://localhost:3306/mysql
- For Oracle, the url is of the form jdbc:oracle:thin:@localhost:1521:live
Parameters: connectionInfo - Parameters: masterPassword - throws: DriverManagerException - |
|
|