Documentation Home
>
Sun Java System Application Server Platform Edition 9 发行说明
>
第 3 章 已知问题和限制
>
Java Persistence API
> 无法将空数据库值映射到图元。
Sun Java System Application Server Platform Edition 9 发行说明
Previous
: 如果对某个关系使用 List<>,会导致 MetadataHelper.getAttributeNameFromMethodName 中出现 StringIndexOutOfBoundException。
Next
: 从客户端访问 LAZY 初始化关系有时会导致 NullPointerException。
无法将空数据库值映射到图元。
解决方法
通过使用 Java 包装对象类型,映射到可为 null 的数据库列。
Previous
: 如果对某个关系使用 List<>,会导致 MetadataHelper.getAttributeNameFromMethodName 中出现 StringIndexOutOfBoundException。
Next
: 从客户端访问 LAZY 初始化关系有时会导致 NullPointerException。
© 2010, Oracle Corporation and/or its affiliates