I do agree with you Tim. Further more I found that when you call these getter method the Container does not call ejbLoad, which to my point of view would have been the normal behavior. You can get a desynchronisation between the Database and the bean when you modify the record of the data base by an external program (not using EJB). What is the recommended way of keeping the bean in sync with the DB? I would have think of a call to ejbLoad befor a getter method is activated !! [EMAIL PROTECTED] wrote: > Danch wrote: > >The container doesn't know that your getter doesn't have side effects > >that modify data. > > How common is it for a getter to modify data? It seems like this should not be > the default behavior. > Maybe there should be a parameter in the <container-configuration> section of > the jboss.xml file that turns this calling of ejbStore on and off. That way you > could control it on a bean by bean basis, and improve the overall efficiency of > the entity beans. > > Tim Haley > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user
begin:vcard n:Thiebauld;Jacques x-mozilla-html:FALSE org:DALiM Software GmbH adr:;;;;;; version:2.1 email;internet:[EMAIL PROTECTED] title:Chief Scientist x-mozilla-cpt:;0 fn:Jacques Thiebauld end:vcard
