The com.informix.udr.UDRManager

The UDRManager class provides a method for a UDR instance to obtain its UDREnv object. This class is defined as follows:
public class UDRManager
{
      static UDREnv getUDREnv();
}

The SQLJ: SQL Routines specification, which describes how to use static Java™ methods as database UDRs, does not provide a mechanism to save the user state across invocations. The UDREnv interface is a provided interface that maintains state information. You can use this state information, for example, to write iterator UDRs. The UDREnv object is maintained by the thread that manages the execution of the static method that represents the UDR. Therefore, if the UDR forks its own threads, the UDRManager.getUDREnv method cannot be directly used by those secondary threads of the UDR. The UDR must explicitly pass the UDREnv object to the secondary threads that it creates.