Sun Java System Application Server Platform Edition 9 Release Notes

Unable to map null database values to primitives.

Solution

Use Java wrapper types for mapping to nullable database columns.