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
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
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
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
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
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
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]