Re: Question from a beginner

2004-11-29 Thread Thomas Dudziak
Thomas Papke wrote: Hello to OJB-Users, I started to learn how to use OJB with a little example, but here i have a problem. Maybe anyone could help. I have 3 classes with a few attributes: abstract class benutzer; - string name - string vname - int benutzer_id - string passwort - s

Re: Is theTwoLevelCache stable ? Could someone share his feedback about it ?

2004-11-29 Thread Armin Waibel
Hi JB, CLARAMONTE Jean-Baptiste wrote: I would like to know if some of you have already used (in a production environnement would be great) the cache's implementation called TwoLevelCache. What are your feedback about it ? I have found a post talking about it (http://www.mail-archive.com/ojb-user@d

RE: Deep retrieve : a proposal

2004-11-29 Thread CLARAMONTE Jean-Baptiste
IMHO auto-retrieve should be set to true only for table's reference (and not in every cases). So by default my preconisation is to set auto-retrieve to true in particulars cases well identified... For the prefetched relationships as far as I know there is some restrictions : - only works if you

Is theTwoLevelCache stable ? Could someone share his feedback about it ?

2004-11-29 Thread CLARAMONTE Jean-Baptiste
I would like to know if some of you have already used (in a production environnement would be great) the cache's implementation called TwoLevelCache. What are your feedback about it ? I have found a post talking about it (http://www.mail-archive.com/ojb-user@db.apache.org/msg08338.html) and which w

RE: Deep retrieve : a proposal

2004-11-29 Thread CLARAMONTE Jean-Baptiste
IMHO auto-retrieve should be set to true only for table's reference (and not in every cases). So by default my preconisation is to set auto-retrieve to true in particulars cases well identified... For the prefetched relationships as far as I know there is some restrictions : - only works if your o

Re: Deep retrieve : a proposal

2004-11-29 Thread Jakob Braeuchi
hi jean-baptiste, ojb already offers auto-retrieve = true in the collection-descriptor to load related objects automatically. an additional feature are the prefetched relationships that allow you to load related object in a single query instead of executing one query for each parent object. wha

Deep retrieve : a proposal

2004-11-29 Thread CLARAMONTE Jean-Baptiste
I've noticed that OJB doesn't offer a deep retrieve reference service, so I have developped an utility for retrieving from one reference all the deep references (and back references). Example : we have the following model : [A]<(*)listeA-(1)b>[B]<(1)b-(*)listeC>[C]-(1)d>[D]