If i have a table which is mapped to an entity bean and that table gets dropped and re-created periodically , how will it affect ??? Is there any way to specify the container to expect this or for us to explicitly handle this scenario through the code
Hi, I doubt whether any container will suppport. Ur code has to take care of the scenario for which u will have to use BMP. Using CMP may result in NoSuchEntityException.
If it's a "read only" entity, you might be able to configure some settings within your container, telling it to refresh the cache every x minutes. Depends on the container you're using... Simon
am using WebLogic 6.1 sp2 . This entity bean is not read-only .So I guess I will have to write it as a CMP and handle the exception programmatically ???.