Chapter 1 Java Classes and Interfaces
package com.sybase.jaguar.util.jdbc11;public class <object>Holder extends Object
The com.sybase.jaguar.util.jdbc11 holder classes are used to pass java.sql and java.math objects as INOUT parameters. These classes should be used in code that runs in a JDK 1.1 or later virtual machine. Use the JDK 1.1 classes for Java components and for Java stub clients when you have selected the "JDK 1.1" option for the generated stub classes. See jaguar.util.jdbc102.<object>Holder class for similar classes that are compatible with JDK 1.0.2.
For code that will be run in a JDK 1.1 or later virtual machine (such as a Jaguar server), use these imports:
import java.sql.*;
import java.math.*;
import com.sybase.jaguar.util.jdbc11.*;
The holder classes for JDK 1.1 are summarized in the following table:
WARNING! | Null parameter values are not supported. Use the constructor that takes an initial value, or set the value field explicitly. |
<object>Holder()
Default constructor that assigns the default value specified in "Holder for use with JDK 1.1".
<object>Holder(<object> initialValue)
Constructor that takes an initial value specified as initialValue. initialValue is an instance of the appropriate datatype as specified in "Holder for use with JDK 1.1".
value
The current value contained by the holder object."Holder for use with JDK 1.1" lists the datatypes and default values for the value field.
jaguar.util.<object>Holder class, jaguar.util.jdbc102.<object>Holder class
"Creating Jaguar 1.1 Java Clients" in the Jaguar CTS Programmer's Guide
"Creating Java Components" in the Jaguar CTS Programmer's Guide
Copyright © 2000 Sybase, Inc. All rights reserved. |
![]() |