The methods documented in this chapter operate on map instances. They are defined on the IBM WebSphere InterChange Server Express-defined class BaseDLM. The BaseDLM class is the base class for all map instances. All created maps are subclasses of BaseDLM; they all inherit these methods. The BaseDLM class provides utility methods for error handling and debugging in maps, and establishing a connection to a database. All methods in this class can be called without referring to the class name.
Table 91 summarizes the methods of the BaseDLM class.
BaseDLM method summaryMethod | Description | Page |
---|---|---|
getDBConnection() | Establishes a connection to a database and returns a CwDBConnection object. | getDBConnection() |
getName() | Retrieves the name of the current map. | getName() |
getRelConnection() | Establishes a connection to a relationship database and returns a DtpConnection object. | getRelConnection() |
implicitDBTransactionBracketing() | Retrieves the transaction programming model that the map instance uses for any connection it obtains. | implicitDBTransactionBracketing() |
isTraceEnabled() | Compares the specified trace level with the current trace level of the map. | isTraceEnabled() |
logError(), logInfo(), logWarning() | Sends an error, information, or warning message to the InterChange Server log file. | logError(), logInfo(), logWarning() |
raiseException() | Raises an exception. | raiseException() |
releaseRelConnection() | Releases a connection to a relationship database. | releaseRelConnection() |
trace() | Generates a trace message. | trace() |