Public JDBC interfaces
HCL OneDB™ JDBC Driver defines the com.informix.jdbc.IfxConnection and com.informix.jdbc.IfxProtocol public interfaces.
The client and server drivers for OneDB JDBC Driver each have their own implementation of the preceding interfaces. The client driver provides access to databases from Java™ applications. The server driver provides database access from within the server through UDRs written in Java code.
The com.informix.jdbc.IfxConnection
The IfxConnection interface is a subinterface of java.sql.Connection with methods specific to HCL OneDB added. The com.informix.jdbc.IfxDirectConnection class implements the com.informix.jdbc.IfxConnection interface. This interface provides a connection to the current database server from within a UDR. The connection corresponds to a server-query context and is passed to the UDR by the SQLJ language manager. The transaction context of this connection is that of the query issuing the UDR call, and the call to create a UDR connection does not specify any database or user information.
The com.informix.jdbc.IfxProtocol
The IfxProtocol interface represents the protocol and data exchange between the client application and the HCL OneDB database server. It sends and processes the messages and data flow between the client and database server. The com.informix.jdbc.IfxDirectProtocol class implements the IfxProtocol interface. It uses the DataBlade® API to access database resources.