|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--General
A non-instantiable class with static methods to illustrate technical points regarding Java-SQL datatype mappings and null values.
Method Summary | |
static int |
identity1(int I)
An int identity method. |
static java.lang.Integer |
identity2(java.lang.Integer I)
An Integer identity method. |
static Address |
identity3(Address A)
An Address identity method. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Method Detail |
public static int identity1(int I)
You can call this method from SQL, with an INTEGER argument. But, if the runtime value of the argument is null, an SQL exception will be raised.
public static java.lang.Integer identity2(java.lang.Integer I)
You can call this method from SQL, with an INTEGER argument. If the runtime value of the argument is null, The Java parameter will be null.
public static Address identity3(Address A)
You can call this method from SQL, with an Address argument. If the runtime value of the argument is null, The Java parameter will be null.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |