Create an IfxLocator object

The IfxLocator object (usually known as the locator pointer or large object locator) identifies the location of the smart large object, as shown in Locating a smart large object In a client application; the locator pointer is the communication link between the database server and the client for a particular large object. Before it creates a large object or opens a large object for reading or writing, an application must create an IfxLocator object:
IfxLocator loPtr = new IfxLocator();
IfxLocator loPtr = new IfxLocator(Connection conn);

Use the second of these constructors to display localized error messages if an exception is thrown. For more information, see Support for globalized error messages.