IBM®
Skip to main content
    Country/region [select]      Terms of use
 
 
    
     Home      Products      Services & solutions      Support & downloads      My account     
 
developerworks > My developerWorks >  Dashboard > WebSphere eXtreme Scale V6.1 User Guide > ... > ObjectGrid 6.1 cumulative fix 1 contents > The EntityManager remove method does not throw an IllegalArgumentException exception for key-less entities
developerWorks
Log In   View a printable version of the current page.
Overview Connect Spaces Forums Wikis
The EntityManager remove method does not throw an IllegalArgumentException exception for key-less entities
Added by kristip, last edited by Chris.D.Johnson on Aug 27, 2007  (view change)
Labels: 
(None)

See the WebSphere eXtreme Scale Wiki for links to up-to-date eXtreme Scale Version 7.0 documentation.
Getting Started Examples Reference API documentation

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

Wiki Disclaimer and License
© Copyright IBM Corporation 2007,2009. All Rights Reserved.


 
    About IBM Privacy Contact