The Sun Microsystem JDBC specification refers to an SQL type called a structured type or struct, which is equivalent to an Informix named row. The specification defines two approaches to exchange structured-type data between a Java client and a relational database:
Whether IBM Informix JDBC Driver instantiates a Java object or a Struct object for a fetched named row depends on whether there is a customized type-mapping entry or not, as follows:
Unnamed rows are always fetched into Struct objects.
For more information about custom type mapping, see Appendix C. Mapping Data Types.
Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]