Hi, As per EJB Specifications whenever any business method 'xxx' is called on a bean, container must call methods in following sequence on the EJB :
1. ejbLoad 2. xxx <business method> 3. ejbStore Orion also behaves this way unless configured to do so, it needs to be specified for a bean whether it has exclusive write access for the underlying tables. This parameter is placed in the orion-ejb-jar.xml which is created in <ORION_HOME>/application-deployments/... For each bean deployed the file consits following entry : <enterprise-beans> <entity-deployment name="AuthNode" location="AuthNode" wrapper="AuthNodeHome_EntityHomeWrapper3" table="AuthNode" exclusive-write-access="false"> <resource-ref-mapping name="jdbc/AstraDB" /> </entity-deployment> <session-deployment name="Login" location="Login" wrapper="LoginHome_StatefulSessionHomeWrapper2" timeout="1800" persistence-filename="Login"> <resource-ref-mapping name="jdbc/AstraDB" /> </session-deployment> </enterprise-beans> The parameter exclusive-write-access="false" must be exclusively specified (otherwise it defaults to be true) to make Orion behave as per the specifications. Otherwise Orion caches the bean for all further request on the bean. Regards, Maqbul -----Original Message----- From: Shah, Ritesh [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 17, 2002 3:33 AM To: Orion-Interest Subject: Caching / Pooling of BMP Entity bean. Hi, I am getting a weird error. I am using oracle oc4j 1.0.2.2. I am calling an entity bean from session bean. The error I get is when I call an entity bean for the first time it gives me proper result then I update the data and from next call onward it gives me the cached value that it loaded for the first time call. It even doesn't give me stored value. I try to trace it but I get the same error. From database it is retrieving proper value while doing ejbFindbyPrimarykey but doesn't give proper value. It never again call ejbload. That what I found by tracing it. Any help will be appreciated. Thanks -Ritesh