Objects and Null Values
Object references are more expressive than pure scalars because they can also represent null values (through null references). The Java PDO interface provides get and set methods that return or receive Java objects of the following types:
• Integer
• Long
• Double
• BigDecimal
• Byte[ ]
• String
• Date
Ingres provides the usual PDO methods for checking and setting null values, but simply using null object references as values is often an easier alternative.