Package | Description |
---|---|
org.netbeans.api.db.explorer |
Modifier and Type | Method and Description |
---|---|
static JDBCDriver |
JDBCDriver.create(String name,
String displayName,
String clazz,
URL[] urls)
Creates a new JDBCDriver instance.
|
JDBCDriver[] |
JDBCDriverManager.getDrivers()
Gets the registered JDBC drivers.
|
JDBCDriver[] |
JDBCDriverManager.getDrivers(String drvClass)
Gets the registered JDBC drivers with the specified class name.
|
JDBCDriver |
DatabaseConnection.getJDBCDriver()
Returns the JDBC driver instance that this connection uses.
|
JDBCDriver |
DatabaseMetaDataTransfer.Connection.getJDBCDriver()
Returns the
JDBCDriver which was used to connect to DatabaseMetaDataTransfer.Connection.getDatabaseConnection() . |
JDBCDriver |
DatabaseMetaDataTransfer.Table.getJDBCDriver()
Returns the
JDBCDriver which was used to connect to DatabaseMetaDataTransfer.Table.getDatabaseConnection() . |
JDBCDriver |
DatabaseMetaDataTransfer.View.getJDBCDriver()
Returns the
JDBCDriver which was used to connect to DatabaseMetaDataTransfer.View.getDatabaseConnection() . |
JDBCDriver |
DatabaseMetaDataTransfer.Column.getJDBCDriver()
Returns the
JDBCDriver which was used to connect to DatabaseMetaDataTransfer.Column.getDatabaseConnection() . |
JDBCDriver |
JDBCDriverManager.showAddDriverDialogFromEventThread()
Shows the Add Driver dialog synchronously.
|
Modifier and Type | Method and Description |
---|---|
void |
JDBCDriverManager.addDriver(JDBCDriver driver)
Adds a new JDBC driver.
|
static DatabaseConnection |
DatabaseConnection.create(JDBCDriver driver,
String databaseURL,
String user,
String schema,
String password,
boolean rememberPassword)
Creates a new DatabaseConnection instance w/ a default display name based
on connection URL and user
|
static DatabaseConnection |
DatabaseConnection.create(JDBCDriver driver,
String databaseURL,
String user,
String schema,
String password,
boolean rememberPassword,
String displayName)
Creates a new DatabaseConnection instance.
|
static DatabaseConnection |
DatabaseConnection.create(JDBCDriver driver,
String databaseURL,
String user,
String schema,
String password,
boolean rememberPassword,
String displayName,
Properties connectionProperties)
Creates a new DatabaseConnection instance.
|
void |
JDBCDriverManager.removeDriver(JDBCDriver driver)
Removes a JDBC driver.
|
void |
ConnectionManager.showAddConnectionDialog(JDBCDriver driver)
Shows the dialog for adding a new connection.
|
void |
ConnectionManager.showAddConnectionDialog(JDBCDriver driver,
String databaseUrl)
Shows the dialog for adding a new connection with the specified database URL.
|
void |
ConnectionManager.showAddConnectionDialog(JDBCDriver driver,
String databaseUrl,
String user,
String password)
Shows the dialog for adding a new connection with the specified database URL, user and password
The specified driver be filled as the single element of the
Driver combo box of the New Database Connection dialog box.
|
DatabaseConnection |
ConnectionManager.showAddConnectionDialogFromEventThread(JDBCDriver driver)
The counterpart of
ConnectionManager.showAddConnectionDialog(JDBCDriver) which returns
the newly created database connection, but must be called from the event dispatching
thread. |
DatabaseConnection |
ConnectionManager.showAddConnectionDialogFromEventThread(JDBCDriver driver,
String databaseUrl)
The counterpart of
ConnectionManager.showAddConnectionDialog(JDBCDriver, String) which returns
the newly created database connection, but must be called from the event dispatching
thread. |
DatabaseConnection |
ConnectionManager.showAddConnectionDialogFromEventThread(JDBCDriver driver,
String databaseUrl,
String user,
String password)
The counterpart of
ConnectionManager.showAddConnectionDialog(JDBCDriver, String, String, String)
which returns the newly created database connection, but must be called
from the event dispatching thread. |