Sun Java System Application Server Platform Edition 9.0 Update 1 Release Notes

Unable to map null database values to primitives.

Solution

Use Java wrapper types for mapping to nullable database columns.