Sessions & Connections > Differences between IldDbms and IldDbmsModel Classes
 
Differences between IldDbms and IldDbmsModel Classes
IldDbmsModel provides the same functionalities as IldDbms, plus the ability to be derived. This derivation capability introduces a few differences with the IldDbms class, as follows:
*IldDbmsModel instances are allocated directly by their constructor. The schema of using a function such as IldNewDbms() is not used for the IldDbmsModel class.
*The getFreeRequest member function cannot be used to instantiate a request with an object of the IldDbmsModel class. Instead, you must use the IldRequestModel constructor, with the IldDbmsModel instance as a parameter.
*When an IldDbms instance is deleted, the IldRequest instances that are linked to it are automatically deleted. This functionality is not implemented for the IldDbmsModel class. You must delete all IldRequestModel instances allocated using the given IldDbmsModel instance.
(This is because IldRequestModel instances may be allocated on the stack, as automatic instances. Therefore, Rogue Wave DB Link has no control over the deletion of those instances. They will be deleted when the block in which they have been allocated ends.)

Version 5.8
Copyright © 2014, Rogue Wave Software, Inc. All Rights Reserved.