Documentation Home
>
Sun Java System Application Server Platform Edition 9 Release Notes
>
ChapterĀ 3 Known Issues and Limitations
>
Java Persistence API
>
Unable to map null database values to primitives.
> Solution
Sun Java System Application Server Platform Edition 9 Release Notes
Previous
: Using List<> for a relationship causes StringIndexOutOfBoundException in MetadataHelper.getAttributeNameFromMethodName.
Next
: Accessing a LAZY initialized relationship from client side sometimes causes a NullPointerException.
Solution
Use Java wrapper types for mapping to nullable database columns.
Previous
: Using List<> for a relationship causes StringIndexOutOfBoundException in MetadataHelper.getAttributeNameFromMethodName.
Next
: Accessing a LAZY initialized relationship from client side sometimes causes a NullPointerException.
© 2010, Oracle Corporation and/or its affiliates