Package | Description |
---|---|
oracle.jdeveloper.db |
Classes for accessing database connections in JDeveloper (and other FCP
products).
|
oracle.jdeveloper.db.migration |
Utility classes for migrating database connections from the pre-11g connection
manager (CM) format.
|
Modifier and Type | Method and Description |
---|---|
void |
DatabaseConnections.addConnection(java.lang.String connName,
java.util.Properties props)
Creates a connection in the underlying namespace with the given name and
properties.
|
void |
Connections.addConnection(java.lang.String connName,
java.util.Properties props)
Deprecated.
Creates a connection in the underlying namespace with the given name and
properties.
|
static void |
AppDatabaseConnections.copyConnectionBetweenStores(java.lang.String sourceStore,
java.lang.String targetStore,
java.lang.String connName)
Copies the given connection between two different connection stores.
|
static void |
AppDatabaseConnections.copyConnectionBetweenStores(java.lang.String sourceStore,
java.lang.String targetStore,
java.lang.String connName,
java.lang.String newName)
Copies the given connection between two different connection stores.
|
static void |
AppDatabaseConnections.copyToApplicationResources(java.lang.String connName,
Context ideContext)
Utility method to copy the given named connection from the Resource
Palette's connections to the Application Resources for the Application
(Workspace) in the given IDE context.
|
static void |
AppDatabaseConnections.copyToApplicationResources(java.lang.String connName,
java.lang.String newName,
Context ideContext)
|
static void |
AppDatabaseConnections.copyToApplicationResources(java.lang.String storeName,
java.lang.String connName,
java.lang.String newName,
Context ideContext)
Utility method to copy the given named connection to the Application
Resources for the Application (Workspace) in the given IDE context.
|
void |
DatabaseConnections.disconnect(java.lang.String connName)
Disconnect the cached JDBC connections for the given connection name,
and closes the associated Database as well.
|
void |
Connections.disconnect(java.lang.String connName)
Deprecated.
If the connection store has a cached connection for this connection name
then disconnect it.
|
boolean |
DatabaseConnections.disconnect(java.lang.String connName,
boolean force)
Disconnect the cached JDBC connections for the given connection name, and
closes the associated Database as well.
|
protected void |
DefaultConnectionEditorLauncher.doCommit(DatabaseConnections conns,
java.lang.String originalName,
java.lang.String newName,
java.util.Properties props,
Namespace data)
Called by a VetoableChangeListener that is attached to the dialog to
commit the connection changes made by the user.
|
java.sql.Connection |
ConnectionInfo.getConnection()
Returns a JDBC Connection for the connection.
|
java.sql.Connection |
DatabaseConnections.getConnection(java.util.Properties props)
Returns a new JDBC connection for the given connection Properties.
|
java.sql.Connection |
DatabaseConnections.getConnection(java.lang.String connName)
Returns a JDBC connection for the given connection name.
|
java.util.Properties |
DatabaseConnections.getProperties(java.lang.String connName)
Returns a Properties object containing the properties for the given
connection name.
|
java.util.Properties |
Connections.getProperties(java.lang.String connName)
Deprecated.
Returns a Properties object containing the properties for the given
connection name.
|
DatabaseProvider |
DatabaseConnections.getReferenceable(java.lang.String connName)
Returns the Referenceable for the given connection name, containing the
details about the connection.
|
javax.naming.Referenceable |
Connections.getReferenceable(java.lang.String connName)
Deprecated.
Returns the Referenceable for the given connection name, containing the
details about the connection.
|
java.sql.Connection |
DatabaseConnections.getUniqueConnection(java.lang.String connName)
Returns a JDBC connection for the given connection name.
|
boolean |
DatabaseConnections.removeConnection(java.lang.String connName)
Removes the connection with the given name.
|
boolean |
Connections.removeConnection(java.lang.String connName)
Deprecated.
Removes the connection with the given name.
|
void |
DatabaseConnections.saveConnections()
Saves the database connection store.
|
void |
Connections.saveConnections()
Deprecated.
Saves this connection store.
|
abstract void |
DatabaseConnections.DatabaseConnectionTester.testConnection(java.sql.Connection conn)
During the test, if the Connection is successfully made then it is
passed to this method which can then perform extra tests.
|
void |
DatabaseConnections.testConnection(java.util.Properties props)
Takes the given properties for a connection and attempts to connect to the
database.
|
void |
Connections.testConnection(java.util.Properties props)
Deprecated.
Takes the given properties for a connection and attempts to create an
actual connection to test the properties are valid.
|
void |
DatabaseConnections.testConnection(java.util.Properties props,
DatabaseConnections.DatabaseConnectionTester tester)
Takes the given properties for a connection and attempts to connect to the
database.
|
boolean |
DatabaseConnections.updateConnection(java.lang.String connName,
java.lang.String newName,
java.util.Properties newProps)
Updates the definition of the given connection with the new set of
properties.
|
boolean |
Connections.updateConnection(java.lang.String connName,
java.lang.String newName,
java.util.Properties newProps)
Deprecated.
Updates the definition of the given connection with the new set of
properties.
|
boolean |
DatabaseConnections.updateConnection(java.lang.String connName,
java.lang.String newName,
java.util.Properties newProps,
boolean skipDisconnect)
Updates the definition of the given connection with the new set of
properties.
|
Modifier and Type | Method and Description |
---|---|
static ConnectionsInfo |
ConnectionsInfo.getConnectionsInfo(java.net.URL url)
Parses the given URL, expecting it to be a CA connections.xml, and
collects information about the passwords stored.
|