Hi JB,
CLARAMONTE Jean-Baptiste wrote:
Hello,
About the use of the attribut "refresh" which is available on associations
(0.1 , 1.n , m.n), I'm wondering : why would I set it to false ? Because after all isn't it just better and simpler to always set it to true
?
Or am I missing something ?
If set refresh attribute to 'true' OJB will refresh the reference when loaded an object from the cache. For an 1:n or m:n reference this means that OJB execute a query searching for all referenced objects (This does not mean that all referenced objects will be read from database, if a reference could be found in cache -via it's Identity- OJB will use it).
http://db.apache.org/ojb/docu/guides/repository.html#collection-descriptor-N1059C
regards, Armin
Thanx
JB
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
