[EMAIL PROTECTED] wrote:
Hi all,

I have been following the thread started by Pedro Salazar.

jboss.xml:
<jboss>
   <enterprise-beans>
      <entity>
         <ejb-name>CorrectionFile</ejb-name>
         <local-jndi-name>CorrectionFile</local-jndi-name>
           <read-only>True</read-only>
        <method-attributes>
        </method-attributes>
      </entity>
   </enterprise-beans>
</jboss>

Am I correct in the following assumption:

By default this entity bean has a transaction-type of: "Required".

correct


When a getter is called, this bean is not locked within a transcation.

correct


When a setter is called, this bean is locked within a transaction.

No, it is not. BTW, what is the point to call a setter on a read-only bean?




Thanks,

Regards,

Harm de Laat
Informatiefabriek
The Netherlands
=




------------------------------------------------------- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to