Hi,

Penn wrote:
> I've been evaluating jBoss pre2.1 for a while and noticed that
> the ejbLoad is not called everytime the business on the entity bean is
> called,
> eventhough the transaction is set to required, it only call once, the very
> first time
> i access my entity bean (BMP).
> Is it a bug or optimisation.......?
> 
> If its a optimisation, anyway to turn it off ...... ?

You could use another commit option.
See EJB 1.1 spec., sect. 9.1.10.

The default is A, and you can change
it by modifying your container
configuration in jboss.xml:
<jboss>
  <container-configurations>
    <container-configuration>
      <container-name>Standard BMP EntityBean</container-name>
      <commit-option>C</commit-option>
    </container-configuration>
  </container-configurations>
  ....
</jboss>


Best Regards,

Ole Husgaard.


--
--------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
List Help?:          [EMAIL PROTECTED]

Reply via email to