public interface CmDatabaseConnection extends IndependentlyPersistableObject
CmDatabaseConnection
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
CmDatabaseConnection
object
on all objects that will share the same database.
Whenever possible, configure database connection sharing.
Set the same CmDatabaseConnection
object on all objects that will share the same database.
You can change a CmDatabaseConnection
object on an object store,
isolated region, or event export store if and only if the new database connection object
points to the same database, or a copy of that database.
Deletion of a CmDatabaseConnection
object is prevented if referenced
by any object store, event export store, or isolated region.
You can have multiple CmDatabaseConnection
objects contained within a domain.
Each CmDatabaseConnection
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 CmDatabaseConnection
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
ObjectStore
,
IsolatedRegion
,
CmEventExportStore
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get_Creator()
Returns the value of the Creator property.
|
DatabaseType |
get_DatabaseType()
Returns the value of the DatabaseType property.
|
java.util.Date |
get_DateCreated()
Returns the value of the DateCreated property.
|
java.util.Date |
get_DateLastModified()
Returns the value of the DateLastModified property.
|
java.lang.String |
get_DescriptiveText()
Returns the value of the DescriptiveText property.
|
java.lang.String |
get_DisplayName()
Returns the value of the DisplayName property.
|
CmEventExportStoreSet |
get_EventExportStores()
Returns the value of the EventExportStores property.
|
Id |
get_Id()
Returns the value of the Id property.
|
IsolatedRegionSet |
get_IsolatedRegions()
Returns the value of the IsolatedRegions property.
|
java.lang.String |
get_JNDIDataSource()
Returns the value of the JNDIDataSource property.
|
java.lang.String |
get_JNDIXADataSource()
Returns the value of the JNDIXADataSource property.
|
java.lang.String |
get_LastModifier()
Returns the value of the LastModifier property.
|
ObjectStoreSet |
get_ObjectStores()
Returns the value of the ObjectStores property.
|
Site |
get_Site()
Returns the value of the Site property.
|
void |
set_Creator(java.lang.String value)
Sets the value of the Creator property.
|
void |
set_DateCreated(java.util.Date value)
Sets the value of the DateCreated property.
|
void |
set_DescriptiveText(java.lang.String value)
Sets the value of the DescriptiveText property.
|
void |
set_DisplayName(java.lang.String value)
Sets the value of the DisplayName property.
|
void |
set_JNDIDataSource(java.lang.String value)
Sets the value of the JNDIDataSource property.
|
void |
set_JNDIXADataSource(java.lang.String value)
Sets the value of the JNDIXADataSource property.
|
void |
set_Site(Site value)
Sets the value of the Site property.
|
addPendingAction, clearPendingActions, delete, getAccessAllowed, getPendingActions, getUpdateSequenceNumber, isCurrent, save, save, setUpdateSequenceNumber
fetchProperties, fetchProperties, fetchProperty, fetchProperty, getObjectReference, refresh, refresh, refresh
get_ClassDescription, getClassName, getConnection, getProperties, getSuperClasses
java.lang.String get_Creator()
void set_Creator(java.lang.String value)
java.util.Date get_DateCreated()
void set_DateCreated(java.util.Date value)
java.lang.String get_LastModifier()
java.util.Date get_DateLastModified()
Id get_Id()
Site get_Site()
void set_Site(Site value)
java.lang.String get_DisplayName()
void set_DisplayName(java.lang.String value)
java.lang.String get_DescriptiveText()
void set_DescriptiveText(java.lang.String value)
java.lang.String get_JNDIDataSource()
void set_JNDIDataSource(java.lang.String value)
java.lang.String get_JNDIXADataSource()
void set_JNDIXADataSource(java.lang.String value)
DatabaseType get_DatabaseType()
ObjectStoreSet get_ObjectStores()
IsolatedRegionSet get_IsolatedRegions()
CmEventExportStoreSet get_EventExportStores()
© Copyright IBM Corporation 2006, 2015. All rights reserved.