|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use DBException | |
---|---|
oracle.ide.db | Classes for representing database objects in the IDE. |
oracle.ide.db.dialogs | Dialogs for working with database objects in the IDE. |
oracle.ide.db.transfer | Contains an API for transfering database object from one DBObjectProvider to another. |
oracle.ide.db.transfer.generate | Contains classes that control the targets available for generating database objects to in the IDE. |
oracle.javatools.db | Contains a metadata API for describing database objects, and retrieving them from a provider of database objects - for example a database. |
oracle.javatools.db.datatypes | Classes related to datatypes in the database API. |
oracle.javatools.db.ddl | API for generating DDL in the database API. |
oracle.javatools.db.dictionary | Contains a Database implementation (DictionaryDatabase ) that
retrieves information for retrieving object information using dictionary
queries (instead of the JDBC metadata). |
oracle.javatools.db.property | Classes for dealing with properties in the database API. |
oracle.javatools.db.sql | Contains an API for declaratively parsing SQL queries (SELECT statements). |
oracle.jdeveloper.db | Classes for accessing database connections in JDeveloper (and other FCP products). |
oracle.jdeveloper.db.panels | UI panels that are useful when listing, selecting or displaying database connections in dialogs and wizards. |
oracle.jdeveloper.offlinedb | Database API extension for saving database object definitions in XML files. |
oracle.jdeveloper.offlinedb.handler | Utilities for handling complicated offline database actions, for example delete. |
oracle.jdeveloper.offlinedb.wizard | Wizard and dialogs that can used when working with the offline database. |
Uses of DBException in oracle.ide.db |
---|
Methods in oracle.ide.db that throw DBException | |
---|---|
SchemaObject |
SchemaObjectDescriptor.unwrapDescriptor(DBObjectProvider source)
|
static SchemaObject[] |
SchemaObjectDescriptor.unwrapDescriptors(SchemaObjectDescriptor[] descs,
DBObjectProvider source)
Unwraps a set of descriptors and returns an array of SchemaObjects. |
Uses of DBException in oracle.ide.db.dialogs |
---|
Methods in oracle.ide.db.dialogs with parameters of type DBException | |
---|---|
static boolean |
DBExceptionDialog.showConfirmDialog(java.awt.Component parent,
java.lang.String title,
DBException error)
Shows a confirm dialog to the user for the given DBException and returns whether or not they pressed "OK" or "cancel". |
static boolean |
DBExceptionDialog.showConfirmDialog(java.awt.Component parent,
java.lang.String title,
java.lang.String helpTopic,
DBException error)
Shows a confirm dialog to the user for the given DBException and returns whether or not they pressed "OK" or "cancel". |
static void |
DBExceptionDialog.showErrorDialog(java.awt.Component parent,
java.lang.String title,
DBException error)
Shows an error dialog to the user for the given DBException. |
static void |
DBExceptionDialog.showErrorDialog(java.awt.Component parent,
java.lang.String title,
DBException error,
java.lang.String helpid)
Shows an error dialog to the user for the given DBException. |
Uses of DBException in oracle.ide.db.transfer |
---|
Methods in oracle.ide.db.transfer that throw DBException | |
---|---|
SchemaObject[] |
TransferDescriptor.getSchemaObjects(boolean ignorErrors)
|
SchemaObject[] |
TransferDescriptor.getSchemaObjectsAndDependencies(boolean ignorErrors)
|
DBObjectProvider |
TransferDescriptor.getSourceProvider()
|
DBObjectProvider |
TransferDescriptor.getTargetProvider()
|
static java.lang.String |
TransferHelper.getUpdateDDL(DBObjectProvider source,
SchemaObject[] schemaObjects,
DBObjectProvider target,
Schema targetSchema)
Update a target schema so that it contains the list of source objects. |
Constructors in oracle.ide.db.transfer with parameters of type DBException | |
---|---|
TransferFailedException(DBException dbe)
|
Uses of DBException in oracle.ide.db.transfer.generate |
---|
Methods in oracle.ide.db.transfer.generate that throw DBException | |
---|---|
protected abstract Namespace |
GenerateController.createNamespace(TransferDescriptor desc,
Context context)
|
Uses of DBException in oracle.javatools.db |
---|
Subclasses of DBException in oracle.javatools.db | |
---|---|
class |
CancelledException
This exception is thrown if a query to the database is cancelled mid-execution by an action of the user/api. |
class |
CascadeRequiredException
Subclass of DBException that is thrown when an attempt to delete or update an object is made when there are dependent objects in the given DBObjectProvider. |
class |
DBSQLException
DBException subclass that is thrown when a SQLException is encountered while talking to the database. |
class |
InvalidNameException
ValidationException thrown when an object's name is invalid. |
class |
MissingProviderException
Thrown if you attempt to resolve the ID when the provider has not been set. |
class |
MissingValidatorException
Indicates that the validation of the database object failed because no DBObjectValidator was registered to handle the validation. |
class |
NameInUseException
ValidationException thrown when a name is already in use. |
class |
ValidationException
Indicates that the validation of the database object failed. |
Methods in oracle.javatools.db that return DBException | |
---|---|
DBException |
DBException.getNextException()
Retrieves the exception chained to this DBException object. |
Methods in oracle.javatools.db with parameters of type DBException | |
---|---|
void |
DBException.setNextException(DBException ex)
Adds an DBException object to the end of the chain. |
Methods in oracle.javatools.db that throw DBException | ||
---|---|---|
void |
DBObjectBuilder.buildObject(SchemaObject object)
Requests that the specified object be completed. |
|
void |
AbstractDBObjectBuilder.buildObject(SchemaObject object)
|
|
void |
DBObjectBuilder.buildObjectComponent(SchemaObject object,
java.lang.String key)
Requests that part of the specified object, signifed by the given key, is built. |
|
void |
AbstractDBObjectBuilder.buildObjectComponent(SchemaObject object,
java.lang.String key)
Uses canBuildComponents() to work out whether this builder can build just the given (key) subcomponent. |
|
protected void |
AbstractSchemaObject.checkInitEx(java.lang.String key)
|
|
protected SchemaObject |
AbstractDBObjectProvider.createByIDImpl(DBObjectID id)
|
|
protected SchemaObject |
AbstractDatabase.createByIDImpl(DBObjectID id)
|
|
static java.sql.Connection |
DatabaseFactory.createConnection(Database db)
This will return a new Connection for the given database if possible. |
|
protected abstract java.sql.Connection |
DatabaseFactory.ConnectionCreator.createConnectionImpl(java.lang.String connName)
Creates a Connection from a registered connection store if a connection of given name exists. |
|
static Database |
DatabaseFactory.createDatabase(java.lang.String connName,
DatabaseFactory.ConnectionCreator factory)
Creates a Database using the given ConnectionCreator to create a connection for the given connection name. |
|
protected abstract Database |
DatabaseFactory.DatabaseCreator.createDatabaseImpl(java.lang.String connStore,
java.lang.String name,
java.sql.Connection conn)
|
|
void |
AbstractDBObjectProvider.createObject(SchemaObject obj,
boolean replace)
|
|
void |
DBObjectProvider.createObject(SchemaObject object,
boolean replace)
Causes the creation of the object described by the specified meta data. |
|
void |
DBObjectProvider.createObjects(SchemaObject[] objects,
boolean replace)
Causes the creation of the objects described by the specified meta data. |
|
protected DBObjectProvider |
DatabaseFactory.createProviderImpl(java.lang.Object identifier)
Creates a provider for the given identifier if that identifier is a DatabaseFactory.Descriptor . |
|
protected abstract DBObjectProvider |
DBObjectProviderFactory.Creator.createProviderImpl(java.lang.Object identifier)
If this factory can, it creates a provider implementation from the given identifier. |
|
void |
DBObjectProvider.createSchema(Schema schema,
boolean replace)
Causes the creation of a new Schema in the persistent storage. |
|
protected SchemaObject |
AbstractDBObjectProvider.createSchemaObjectImpl(java.lang.String type,
Schema schema,
java.lang.String name)
Uses listObjectsImpl to find or create an object with the given type, schema and name. |
|
void |
AbstractDBObjectProvider.deleteObject(SchemaObject obj,
boolean cascade)
|
|
void |
DBObjectProvider.deleteObject(SchemaObject object,
boolean cascade)
Deletes the object. |
|
void |
DBObjectProvider.deleteObjects(SchemaObject[] objects,
boolean cascade)
Deletes the objects. |
|
void |
DBObjectProvider.deleteSchema(Schema schema,
boolean cascade)
Deletes the schema. |
|
void |
SchemaObjectManager.doCascadeDelete(SchemaObject deleted,
SchemaObject referer)
|
|
protected
|
StatementWrapper.doExecute(StatementWrapper.ExecutionRunnable<T> r)
|
|
protected void |
AbstractDBObjectBuilder.ensureComponent(AbstractSchemaObject obj,
java.lang.String key)
Ensures that the given component has been built. |
|
static void |
DBUtil.ensureDerivedPropertiesBuilt(SchemaObject object,
DBObjectProvider pro)
INTERNAL ONLY - this is not a finished API yet. |
|
static void |
DBUtil.ensureObjectBuilt(SchemaObject object)
Ensures that the given object is loaded from its DBObjectProvider. |
|
boolean |
StatementWrapper.execute()
Executes the statment against the database. |
|
boolean |
QueryWrapper.execute()
|
|
abstract
|
StatementWrapper.ExecutionProxy.execute(StatementWrapper.ExecutionRunnable<T> r)
Execute the given Runnable in whatever manner necessary (e.g. |
|
void |
QueryWrapper.executeQuery(int fetchSize,
QueryWrapper.QueryRunnable run)
Execute the query against the builder's connection using the appropriate parameter substitutions. |
|
void |
QueryWrapper.executeQuery(QueryWrapper.QueryRunnable run)
Execute the query against the builder's connection using the appropriate parameter substitutions. |
|
protected abstract void |
AbstractDBObjectBuilder.fillInObject(SchemaObject object)
|
|
protected void |
AbstractDBObjectBuilder.fillInObjectComponent(SchemaObject object,
java.lang.String key)
Builds the whole object by default. |
|
protected DBObject |
AbstractDBObjectProvider.findByID(DBObjectID id)
|
|
static Database |
DatabaseFactory.findOrCreateDatabase(java.lang.String name,
java.sql.Connection conn)
Find or create a Database implementation with the given name and Connection. |
|
static DBObjectProvider |
DBObjectProviderFactory.findOrCreateProvider(java.lang.Object identifier)
Finds or creates a provider using the given identifier key. |
|
static DBObject |
TemporaryObjectID.findOriginalObject(TemporaryObjectID id)
Recurses through the original objects id and beyond (if it's another temp id) until it finds an object that has either no id, or an id that isn't a temp id. |
|
protected void |
AbstractDatabase.finishCreate(SchemaObject[] objects,
SchemaObject[] oldObjects)
Use to finish the create or update of objects after the changes have been made in the db. |
|
java.sql.Connection |
Database.getConnection(boolean reconnect)
Gets the JDBC connection associated with this database. |
|
java.sql.Connection |
AbstractDatabase.getConnection(boolean reconnect)
|
|
protected SchemaObject |
AbstractDatabase.getCreatedObject(java.lang.String type,
Schema schema,
java.lang.String name)
Used by finishCreate() to get the object that's just been created back from the database so that it can be verified before returning to the user. |
|
java.lang.String |
Database.getDatabaseSource(java.lang.String objectType,
Schema schema,
java.lang.String objectName)
Retrieves the source for an object in the database. |
|
java.lang.String |
AbstractDatabase.getDatabaseSource(java.lang.String objectType,
Schema schema,
java.lang.String objectName)
|
|
java.lang.String |
Database.getDatabaseSource(java.lang.String objectType,
Schema schema,
java.lang.String objectName,
java.lang.String sourceType)
Retrieves the source for an object in the database. |
|
java.lang.String |
AbstractDatabase.getDatabaseSource(java.lang.String objectType,
Schema schema,
java.lang.String objectName,
java.lang.String sourceType)
|
|
Schema |
DBObjectProvider.getDefaultSchema()
Returns the default schema for the provider. |
|
Schema |
AbstractDatabase.getDefaultSchema()
Returns the default schema for the connection or null if there isn't one. |
|
protected java.lang.Long |
AbstractDBObjectProvider.getExternalTimestamp(SchemaObject object)
Retrieves the external timestamp for the specified object. |
|
SchemaObject |
AbstractDBObjectProvider.getObject(java.lang.String objectType,
Schema schema,
java.lang.String name)
|
|
SchemaObject |
DBObjectProvider.getObject(java.lang.String objectType,
Schema schema,
java.lang.String name)
Retrieves the SchemaObject representing a specific database object. |
|
protected SchemaObject |
AbstractDBObjectProvider.getObjectImpl(java.lang.String objectType,
Schema schema,
java.lang.String name)
|
|
protected SchemaObject |
AbstractDatabase.getObjectImpl(java.lang.String objectType,
Schema schema,
java.lang.String name)
|
|
static DBObject |
DBUtil.getProviderDefinition(DBObject obj,
DBObjectProvider pro)
Gets the definition for the given object from the provider by querying name, schema and type on the top (schema) level parent and then recursing the heirachy to find a match by name and type of the object given. |
|
static DBObject |
DBUtil.getProviderDefinition(DBObject obj,
DBObjectProvider pro,
java.lang.String schemaName)
Gets the definition for the given object from the provider by querying name and type in the given schema on the top (schema) level parent and then recursing the heirachy to find a match by name and type of the object given. |
|
static DBObject |
DBUtil.getProviderDefinition(ReferenceID refID,
DBObjectProvider pro)
Attempts to locate the referenced object in the given provider. |
|
static SchemaObject |
DBUtil.getProviderDefinition(SchemaObject obj,
DBObjectProvider pro)
Gets the definition for the given object from the provider by querying name, schema and type. |
|
static SchemaObject |
DBUtil.getProviderDefinition(SchemaObject obj,
DBObjectProvider pro,
java.lang.String schemaName)
Gets the definition for the given object from the provider by querying name and type in the given schema. |
|
static SchemaObject[] |
DBUtil.getProviderDefinitions(SchemaObject[] objs,
DBObjectProvider pro)
Gets the definitions for the given objects from the database by querying name, schema and type. |
|
T |
StatementWrapper.ExecutionRunnable.getResult()
|
|
Schema |
DBObjectProvider.getSchema(java.lang.String name)
Retrieves the Schema object associated with a specific name. |
|
java.lang.Long |
AbstractDBObjectProvider.getTimestamp(DBObjectID id)
|
|
java.lang.Long |
DBObjectProvider.getTimestamp(DBObjectID id)
|
|
java.lang.Long |
AbstractDBObjectProvider.getTimestamp(java.lang.String type,
Schema schema,
java.lang.String objectName)
|
|
java.lang.Long |
DBObjectProvider.getTimestamp(java.lang.String objectType,
Schema schema,
java.lang.String name)
Retrieves the timestamp representing the last modification time of the specified object's metadata. |
|
java.lang.String |
Database.getUserName()
Retrieves the username used to connect to the database |
|
SchemaObject[] |
AbstractDBObjectProvider.listObjects(java.lang.String[] objectTypes,
Schema schema)
|
|
SchemaObject[] |
DBObjectProvider.listObjects(java.lang.String[] objectTypes,
Schema schema)
Lists the objects of multiple types available from this provider. |
|
SchemaObject[] |
AbstractDBObjectProvider.listObjects(java.lang.String[] objectTypes,
Schema schema,
java.lang.String ref)
|
|
SchemaObject[] |
DBObjectProvider.listObjects(java.lang.String[] objectTypes,
Schema schema,
java.lang.String ref)
Lists the objects of multiple types available from this provider. |
|
java.lang.String[] |
AbstractDBObjectProvider.listObjects(java.lang.String objectType,
Schema schema)
|
|
java.lang.String[] |
DBObjectProvider.listObjects(java.lang.String objectType,
Schema schema)
Lists the objects of a given type available from this provider. |
|
java.lang.String[] |
AbstractDBObjectProvider.listObjects(java.lang.String objectType,
Schema schema,
java.lang.String ref)
|
|
java.lang.String[] |
DBObjectProvider.listObjects(java.lang.String objectType,
Schema schema,
java.lang.String ref)
Lists the objects of a given type available from this provider. |
|
protected abstract java.util.Collection<SchemaObject> |
AbstractDBObjectProvider.listObjectsImpl(java.lang.String[] objectTypes,
Schema schema,
java.lang.String ref)
Internal listObjects implementation. |
|
protected java.lang.String[] |
AbstractDBObjectProvider.listObjectsImpl(java.lang.String type,
Schema schema,
java.lang.String ref)
Retrieves the list of objects by using a registered builder. |
|
Schema[] |
DBObjectProvider.listSchemas()
Retrieves the list of schemas available from this provider regardless of their visibility to the user. |
|
protected Schema[] |
SchemaObjectManager.listSchemas()
|
|
Schema[] |
DBObjectProvider.listSchemas(boolean showAll)
Retrieves the list of schemas available from this provider. |
|
Schema[] |
AbstractDatabase.listSchemas(boolean showAll)
Base implementation doesn't restrict the users. |
|
void |
QueryWrapper.QueryRunnable.processResultSet(java.sql.ResultSet rs)
|
|
java.lang.String |
AbstractDBObjectProvider.quoteIdentifier(java.lang.String internalName,
boolean force)
Determines if internalName needs quoting to make it a valid external name, and if so returns a quoted copy of it. |
|
java.lang.String |
DBObjectProvider.quoteIdentifier(java.lang.String name,
boolean force)
Quotes the specified identifier name, if needed. |
|
java.lang.String |
DatabaseDescriptor.quoteIdentifier(java.lang.String internalName,
boolean force)
Determines if internalName needs quoting to make it a valid external name, and if so returns a quoted copy of it. |
|
protected void |
AbstractDatabase.reconnect()
|
|
protected void |
AbstractDBObjectBuilder.registerObject(SchemaObject object)
Shared between buildObject and buildObjects to perform any post-build tasks that are needed (e.g. |
|
protected DBObject |
AbstractDBObjectID.resolveFromParent()
If the id's parent is non-null this tries to resolve the parent ID and then search the parent's children for an object with this ID. |
|
DBObject |
ReferenceID.resolveID()
|
|
DBObject |
DBObjectID.resolveID()
Resolves the id into the object referenced. |
|
DBObject |
BaseObjectID.resolveID()
|
|
DBObject |
DBReferenceID.resolveID()
Deprecated. This ID is used to reference an object in the database. |
|
DBObject |
TemporaryObjectID.resolveID()
|
|
static DBObject |
DBUtil.resolveInOtherProvider(BaseObjectID id,
DBObjectProvider pro)
Attempts to resolve the given ID in a provider that is not the id's own. |
|
DBObject |
TemporaryObjectID.resolveOriginalID()
Get the original object which this temporary one was copied from. |
|
DBObject |
DBReferenceID.resolveReference(Database db)
Deprecated. Use DBUtil.resolveInOtherProvider(oracle.javatools.db.BaseObjectID, oracle.javatools.db.DBObjectProvider) |
|
abstract T |
StatementWrapper.ExecutionRunnable.runImpl()
|
|
void |
StatementWrapper.throwDBException(DBObject obj,
java.sql.SQLException sqe)
If a SQLException is caught during the processing of this query, or its ResultSet then it can be wrapped in a DBException which can then be displayed to the user. |
|
protected void |
StatementWrapper.throwDBException(DBObject obj,
java.lang.String text,
java.sql.SQLException sqe)
|
|
void |
StatementWrapper.throwDBException(java.sql.SQLException sqe)
If a SQLException is caught during the processing of this query, or its ResultSet then it can be wrapped in a DBException which can then be displayed to the user. |
|
void |
DBObjectProvider.undeleteObject(SchemaObject object)
Undeletes the object, i.e. |
|
void |
DBObjectProvider.undeleteObjects(SchemaObject[] objects)
Undeletes the objects, i.e. |
|
void |
AbstractDBObjectProvider.updateObject(SchemaObject oldObject,
SchemaObject newObject)
|
|
void |
DBObjectProvider.updateObject(SchemaObject oldObject,
SchemaObject newObject)
Updates the definition of an object. |
|
protected void |
SchemaObjectManager.updateObjects(java.util.List<SchemaObject> originals,
java.util.List<SchemaObject> updates,
boolean bulkOperation)
|
|
void |
DBObjectProvider.updateObjects(ResultSet rs,
boolean replace,
boolean cascade)
Updates the definition of a set of objects. |
|
void |
AbstractDBObjectProvider.updateObjects(SchemaObject[] oldObjects,
SchemaObject[] newObjects)
|
|
void |
DBObjectProvider.updateObjects(SchemaObject[] oldObjects,
SchemaObject[] newObjects)
Updates the definition of a set of objects. |
|
void |
DBObjectProvider.updateSchema(Schema oldSchema,
Schema newSchema)
Updates the definition of a Schema. |
|
protected void |
AbstractDBObjectBuilder.updateTimestamp(SchemaObject object)
Sets the timestamp of the given object if the underyling DBObjectProvide supports timestamping. |
|
protected void |
AbstractDBObjectBuilder.updateTimestamp(SchemaObject object,
boolean force)
|
Constructors in oracle.javatools.db that throw DBException | |
---|---|
ReferenceID(DBObjectID id)
Creates a ReferenceID to the object that the given id resolves to. |
|
ReferenceID(DBObjectID id,
DBObjectProvider pro)
Creates a ReferenceID to the object that the given id resolves to, but sets the new reference up with the given provider. |
Uses of DBException in oracle.javatools.db.datatypes |
---|
Subclasses of DBException in oracle.javatools.db.datatypes | |
---|---|
class |
DataTypeValidationException
|
class |
DefaultValueValidationException
|
Methods in oracle.javatools.db.datatypes that throw DBException | |
---|---|
static DataType |
DataTypeHelper.getDataType(DataTypeUsage usage)
Returns the DataType that usage is an instance of, or null if usage is null |
DBObject |
DataTypeID.resolveID()
|
Uses of DBException in oracle.javatools.db.ddl |
---|
Methods in oracle.javatools.db.ddl with parameters of type DBException | |
---|---|
protected boolean |
DDLDatabase.isCauseNameInUse(DBException dbe)
Used by processCreateException to determine whether the given failure in DDL execution should be rolled back (i.e. |
protected void |
DDLDatabase.processCreateException(DBException dbe,
SchemaObject object)
|
protected void |
DDLDatabase.processDeleteException(DBException dbe,
SchemaObject object)
|
Methods in oracle.javatools.db.ddl that throw DBException | |
---|---|
void |
DDLDatabase.createObjects(SchemaObject[] objects,
boolean replace)
|
void |
DDLDatabase.createSchema(Schema schema,
boolean replace)
|
void |
DDLDatabase.deleteObject(SchemaObject object,
boolean cascade)
|
void |
DDLDatabase.deleteObjects(SchemaObject[] objects,
boolean cascade)
|
void |
DDLDatabase.deleteSchema(Schema schema,
boolean cascade)
|
protected boolean |
DDLDatabase.executeDDL(DDL ddl,
boolean ignoreErrors)
|
Schema |
DDLDatabase.getSchema(java.lang.String name)
|
Schema[] |
DDLDatabase.listSchemas()
Executes a query to retrive the schemas defined by this database. |
protected boolean |
DDLDatabase.loadAllSchemas(boolean force)
Loads the schemas from the database. |
protected abstract java.util.Map<java.lang.String,Schema> |
DDLDatabase.loadSchemasImpl()
Implementation that should be implemented to load schemas from the database. |
protected void |
DDLDatabase.processCreateException(DBException dbe,
SchemaObject object)
|
protected void |
DDLDatabase.processDeleteException(DBException dbe,
SchemaObject object)
|
protected void |
DDLDatabase.throwUnsupportedOperation(java.lang.String msg,
DBObject... objs)
|
protected void |
DDLDatabase.throwUnsupportedOperation(java.lang.UnsupportedOperationException base,
DBObject... objs)
|
void |
DDLDatabase.undeleteObject(SchemaObject object)
|
void |
DDLDatabase.undeleteObjects(SchemaObject[] objects)
|
void |
DDLDatabase.updateObject(SchemaObject oldObject,
SchemaObject newObject)
|
void |
DDLDatabase.updateObjects(ResultSet rs,
boolean replace,
boolean cascade)
|
void |
DDLDatabase.updateObjects(SchemaObject[] oldObjects,
SchemaObject[] newObjects)
|
void |
DDLDatabase.updateSchema(Schema oldSchema,
Schema newSchema)
|
Uses of DBException in oracle.javatools.db.dictionary |
---|
Methods in oracle.javatools.db.dictionary that throw DBException | |
---|---|
void |
DictionaryDBObjectBuilder.buildObject(SchemaObject object)
|
void |
DictionaryDBObjectBuilder.buildObjectComponent(SchemaObject object,
java.lang.String key)
|
protected SchemaObject |
DictionaryDatabase.createByIDImpl(DBObjectID id)
|
protected abstract void |
DictionaryDBObjectBuilder.fillInObject(SchemaObject object)
Called to fill in the object definition. |
java.lang.Long |
DictionaryDatabase.getExternalTimestamp(SchemaObject object)
Retrieves the timestamp for this object from the database. |
protected java.lang.Long |
DictionaryDatabase.getExternalTimestampByID(DBObjectID id)
|
protected java.util.Collection<SchemaObject> |
DictionaryDatabase.listObjectsImpl(java.lang.String[] objectTypes,
Schema schema,
java.lang.String ref)
|
protected java.util.Map<java.lang.String,Schema> |
DictionaryDatabase.loadSchemasImpl()
|
Uses of DBException in oracle.javatools.db.property |
---|
Subclasses of DBException in oracle.javatools.db.property | |
---|---|
class |
MissingPropertyException
Exception class thrown by the property support when a given property is not known for the given object. |
Uses of DBException in oracle.javatools.db.sql |
---|
Subclasses of DBException in oracle.javatools.db.sql | |
---|---|
class |
AliasInUseException
SQLQueryException thrown when an attempt is made to add an object whose alias is already in use. |
class |
AmbiguousColumnException
Exception thrown when the name of a column in a query is ambiguous - i.e. |
class |
IDException
Exception thrown when a DBObject is missing an ID. |
class |
InvalidAliasException
Exception thrown when a select or from object has an invalid alias (e.g. |
class |
SQLParseException
Subclass of SQLQueryException used for parse errors in the sql. |
class |
SQLQueryClauseException
Exception thrown by a SQLQueryBuilder when there is an error with a clause in the query, but that this error doesn't stop the query being declarative. |
class |
SQLQueryException
Superclass for all Exceptions thrown by the SQLQuery API. |
Methods in oracle.javatools.db.sql that throw DBException | |
---|---|
protected SchemaObject |
AbstractSQLQueryBuilder.getObject(java.lang.String type,
Schema sch,
java.lang.String relation)
|
Constructors in oracle.javatools.db.sql with parameters of type DBException | |
---|---|
IDException(DBObjectID id,
DBException cause)
Constructor to use when an ID won't resolve. |
Uses of DBException in oracle.jdeveloper.db |
---|
Methods in oracle.jdeveloper.db that throw DBException | |
---|---|
Database |
ConnectionInfo.getDatabase()
Returns a Database for the connection. |
Database |
DatabaseConnections.getDatabase(java.lang.String connName)
Returns a Database for the given connection name. |
Database |
DatabaseConnections.getDatabase(java.lang.String connName,
boolean create)
Returns a Database for the given connection name if one is already cached and only creates a new one if create is true. |
Uses of DBException in oracle.jdeveloper.db.panels |
---|
Methods in oracle.jdeveloper.db.panels that throw DBException | |
---|---|
protected java.lang.Object |
DatabaseFinder.doWork()
|
Uses of DBException in oracle.jdeveloper.offlinedb |
---|
Subclasses of DBException in oracle.jdeveloper.offlinedb | |
---|---|
class |
DependentProviderUpdateException
If an attempt is made to update or delete an object that exists in a dependent offline provider, rather than the current provider then this exception is thrown. |
Methods in oracle.jdeveloper.offlinedb that throw DBException | |
---|---|
static void |
OfflineDBUtil.canCreateFile(SchemaObject obj,
OfflineDBObjectProvider pro)
Checks that create is available on the given object url. |
static void |
OfflineDBUtil.canCreateURL(java.net.URL url,
DBObject obj)
Checks that create is available on the given object url. |
static void |
OfflineDBUtil.canUpdateFile(SchemaObjectNode node,
OfflineDBObjectProvider pro)
Checks that update is available on the given object. |
static void |
OfflineDBUtil.canUpdateFile(SchemaObject obj,
OfflineDBObjectProvider pro)
Checks that update is available on the given object. |
static void |
OfflineDBUtil.canUpdateURL(java.net.URL url,
DBObject obj)
Checks that update is available on the given object url. |
abstract void |
OfflineDBObjectProvider.createObject(SchemaObject object,
boolean replace)
Used to create (or replace) a given SchemaObject. |
abstract void |
OfflineDBObjectProvider.createSchema(Schema schema,
boolean replace)
Creates (or replaces) the given Schema. |
protected SchemaObject |
OfflineDBObjectProvider.createSchemaObjectImpl(java.lang.String type,
Schema schema,
java.lang.String name)
Creates a schema object by looking on the filesystem (using listAllObjects) for the appropriate filename. |
protected DBObject |
OfflineDBObjectProvider.findByID(DBObjectID id)
Finds a given object by ID. |
SchemaObject |
OfflineDBObjectProvider.getObject(SchemaObjectNode node)
Retrieves the SchemaObject from the given node ensuring that the object's ID is correctly setup for this provider. |
abstract SchemaObject |
OfflineDBObjectProvider.getObject(java.net.URL url)
Retrieves the SchemaObject from the given URL ensuring that the object's ID is correctly setup for this provider. |
protected SchemaObject |
OfflineDBObjectProvider.getObjectImpl(java.lang.String objectType,
Schema schema,
java.lang.String name)
|
Schema |
OfflineDBObjectProvider.getSchema(java.lang.String name)
Gets a Schema of given name from this provider. |
abstract Schema |
OfflineDBObjectProvider.getSchema(java.lang.String name,
boolean incBuiltInSchemas)
Offline specific method for retrieving the schema with a given name without looking through the built-in schemas. |
protected java.util.Collection<SchemaObject> |
OfflineDBObjectProvider.listObjectsImpl(java.lang.String[] types,
Schema schema,
java.lang.String ref)
|
Schema[] |
OfflineDBObjectProvider.listSchemas()
Lists the available Schema from this provider. |
abstract Schema[] |
OfflineDBObjectProvider.listSchemas(boolean incBuiltInSchemas)
Lists the available Schema from this provider. |
abstract void |
OfflineDBObjectProvider.updateObject(SchemaObject oldObject,
SchemaObject newObject)
Updates the definition of an object held in this provider. |
abstract void |
OfflineDBObjectProvider.updateSchema(Schema oldSchema,
Schema newSchema)
Updates a given schema with a new definition. |
Uses of DBException in oracle.jdeveloper.offlinedb.handler |
---|
Subclasses of DBException in oracle.jdeveloper.offlinedb.handler | |
---|---|
class |
HandlerFailedException
Subclass of DBException used by the offline handlers. |
Methods in oracle.jdeveloper.offlinedb.handler that throw DBException | |
---|---|
void |
DeleteHandler.handleDelete(Context c,
OfflineDBObjectProvider pro)
|
void |
DeleteHandler.handleDelete(SchemaObject[] objs,
OfflineDBObjectProvider pro)
Handles the delete of the given schema objects from their provider. |
void |
DeleteHandler.handleDelete(SchemaObject[] objs,
OfflineDBObjectProvider pro,
boolean confirm)
Handles the delete of the given schema objects from their provider. |
void |
DeleteHandler.handleDeleteProvider(Context c)
Deletes a schema, or number of schemas if more than one is selected. |
Uses of DBException in oracle.jdeveloper.offlinedb.wizard |
---|
Methods in oracle.jdeveloper.offlinedb.wizard that throw DBException | |
---|---|
static OfflineDBObjectProvider |
ProviderWizard.findOrCreateProviderNode(Project p,
ProviderSettings settings)
|
|
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference 11g Release 1 (11.1.1.1.0) E13403-02 |
|||||||||
PREV NEXT | FRAMES NO FRAMES |