LCConnection class overview
The LCConnection class represents an instance of an individual Connector. One connection object should exist for each individual data connection through a connector. This is true when the connections are to the same Connector as well as to different connectors. For example, transferring data from one DB2® table to another table in Oracle is best accomplished by creating two LCConnection objects, one for DB2® and one for Oracle, and fetching data from one and inserting it into the other.
Connection methods manage individual Connector connections within a session. The connection class enforces connector state and requirements, and must always be used when interacting with connectors. One connection object should exist for each individual data connection through a connector used in a session.
Error information for a connection is available through use of the LCSession class.