Il suffit de se désinscrire de la mailing-list !!
Envoi un message ici : [EMAIL PROTECTED]
-Message d'origine-
De : Arnaud Maes [mailto:[EMAIL PROTECTED]
Envoyé : vendredi 19 mai 2006 10:30
À : OJB Users List
Objet : RE: AW: WG: OJB do delete and insert instead of update
STO
fc.class);
> gruppeSysAdm.setKennzeichen("SYSADMIN");
>
> gruppeSysAdm.setRollen(new Vector());
> gruppeSysAdm.getRollen().add(rolleBenutzerverw);
>
> broker.beginTransaction();
> broker.store(gruppeSysAdm);
> broker.commitTransaction();
> broker.close();
>
&g
INSERT INTO GRUPPEN_ROLLEN VALUES(3,11)
INSERT INTO GRUPPEN_ROLLEN VALUES(3,12)
What is OJB doing in the first part of the log (DELETE, INSERT...)? Is
there
a problem in my repository.xml?
Thanks a lot for your help!
Josef
-Ursprüngliche Nachricht-
Von: Josef Wagner [mailto:[EMAIL P
ppeSysAdm.getRollen().add(rolleBenutzerverw);
broker.beginTransaction();
broker.store(gruppeSysAdm);
broker.commitTransaction();
broker.close();
Thanks for your help.
Josef
-Ursprüngliche Nachricht-
Von: Armin Waibel [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 17. Mai 2006 01:44
An: OJB User
repository.xml?
Thanks a lot for your help!
Josef
-Ursprüngliche Nachricht-
Von: Josef Wagner [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 10. Mai 2006 08:49
An: 'OJB Users List'
Betreff: AW: OJB do delete and insert instead of update
Hi Armin,
I'm working with OJB 1.
TO GRUPPEN_ROLLEN VALUES(3,12)
What is OJB doing in the first part of the log (DELETE, INSERT...)? Is there
a problem in my repository.xml?
Thanks a lot for your help!
Josef
-Ursprüngliche Nachricht-
Von: Josef Wagner [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 10. Mai 2006 08:49
An: &
Hi Armin,
I'm working with OJB 1.0.3.
Sorry, I have debugged again and see that m-n-handling is ok.
Delete and insert instead of updating takes only affect by updating the
primitive attributes of an object, not in the m-n relation tables.
regards
Josef
Hi Josef,
Josef Wagner wrote:
> Hello lis
Hi Josef,
Josef Wagner wrote:
Hello list,
why does ojb delete and insert when I'm updating an existing entry?
Isn't this way negative in view of performance?
I've seen this concept also by updating m-n relations.
Which version of OJB do you use?
Beside the update of m-n relations when
Hello list,
why does ojb delete and insert when I'm updating an existing entry?
Isn't this way negative in view of performance?
I've seen this concept also by updating m-n relations.
Thanks for your answers
Josef Wagner, Germany