August 2001
Intermediate to advanced
400 pages
9h 28m
English
Java wrapper classes allow you to store database NULL values, whereas the Java primitive types (such as int and float) do not. The Java wrapper classes are useful when you are retrieving a database column value that may be NULL. Table A-3 lists the mappings between the Java wrapper classes and the compatible Oracle types.
| Java type | Oracle type |
|---|---|
| java.lang.Boolean | NUMBER |
| java.lang.Byte | NUMBER |
| java.lang.Short | NUMBER |
| java.lang.Integer | NUMBER |
| java.lang.Long | NUMBER |
| java.lang.Float | NUMBER |
| java.lang.Double | NUMBER |
Read now
Unlock full access