If you log in
with your developerWorks ID, you can leave comments and feedback for the development team.
| Component |
EntityManager API |
| Software Version |
6.1 |
Problem
The remove method currently does not throw an java.lang.IllegalArgumentException exception on entities without keys and unpredictable results might occur.
With the EntityManager, you can create entities without keys when finding and querying results. These entities are read-only and cannot be removed or persisted. The remove method currently does not throw an java.lang.IllegalArgumentException exception and unpredictable results might occur.
Workaround
Avoid persisting and removing entities that have no keys.
Solution
Apply ObjectGrid cumulative intermediate fix 1 - PK46417
© Copyright IBM Corporation 2007,2009. All Rights Reserved.