Contains database connection information for object stores, event export stores, and isolated regions. This administrative object is used to define the XA and non-XA data source pair that provides the JDBC connection to the database.

ICmDatabaseConnection can be used to configure database connection sharing, allowing you to use a single XA and non-XA data source pair for multiple object stores, event export stores, and isolated regions residing in the same database. To configure database connection sharing, set the same ICmDatabaseConnection object on all objects that will share the same database.

You can change a ICmDatabaseConnection object on an object store event export store, or isolated region if and only if the new database connection object points to the same database, or a copy of that database. Deletion of a ICmDatabaseConnection object is prevented if referenced by any object store, event export store, or isolated region.

You can have multiple ICmDatabaseConnection objects contained within a domain. Each ICmDatabaseConnection object must reference unique data sources defined in the application server. You can change the data source values as long as they do not duplicate the data source values of another ICmDatabaseConnection object. In addition, the new data source values must point to the same database or a copy of the database for all objects that reference the ICmDatabaseConnection object.

Namespace:  FileNet.Api.Admin
Assembly:  FileNet.Api (in FileNet.Api.dll)

ToggleSyntax

Visual Basic (Declaration)
Public Interface ICmDatabaseConnection _
	Implements IIndependentlyPersistableObject, IIndependentObject, IEngineObject, ICloneable
C#
public interface ICmDatabaseConnection : IIndependentlyPersistableObject, 
	IIndependentObject, IEngineObject, ICloneable
Visual C++
public interface class ICmDatabaseConnection : IIndependentlyPersistableObject, 
	IIndependentObject, IEngineObject, ICloneable
JavaScript
FileNet.Api.Admin.ICmDatabaseConnection = function();
FileNet.Api.Admin.ICmDatabaseConnection.createInterface('FileNet.Api.Admin.ICmDatabaseConnection');

ToggleRemarks

Metadata

Auditable: false
AllowsInstances: true
AllowsSubClasses: false
ClassDefinitionName: None
IsDependent: false
IsHidden: false
Searchable: false
StorageType: Domain
SuperclassName: GenericObject

ToggleSee Also