Home | Previous Page | Next Page   Working with Opaque Types >

Caching Type Information

When objects of some data types insert data into columns of certain other data types, IBM Informix JDBC Driver verifies that the data provided matches the data the database server expects by calling the SQLData.getSQLTypeName() method. The driver asks the database server for the type information with each insertion.

This occurs in the following cases:

You can set an environment variable, ENABLE_CACHE_TYPE=1, in the database URL, to have the driver cache the type information the first time it is retrieved. The driver then asks the cache for the type information before requesting the data from the database server.

Home | [ Top of Page | Previous Page | Next Page | Contents | Index ]