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. Use these classes in code that runs in a JDK 1.1 or later virtual machine. 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, 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 Table 1-4:
Holder class | Datatype for value field | Default for value |
---|---|---|
BigDecimalHolder
|
java.math.BigDecimal
|
null |
DateHolder
|
java.sql.Date
|
null |
TimeHolder
|
java.sql.Time
|
null |
TimestampHolder
|
java.sql.Timestamp
|
null |
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 EAServer 1.1 Java Clients" in the EAServer Programmer's Guide
"Creating Java Components" in the EAServer Programmer's Guide
Copyright © 2001 Sybase, Inc. All rights reserved. |
![]() |