Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 45417 invoked from network); 21 Oct 2008 18:18:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 21 Oct 2008 18:18:26 -0000 Received: (qmail 53727 invoked by uid 500); 21 Oct 2008 18:18:22 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 53695 invoked by uid 500); 21 Oct 2008 18:18:22 -0000 Mailing-List: contact user-java-help@ibatis.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user-java@ibatis.apache.org Delivered-To: mailing list user-java@ibatis.apache.org Received: (qmail 53684 invoked by uid 99); 21 Oct 2008 18:18:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 21 Oct 2008 11:18:22 -0700 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=HTML_MESSAGE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [68.142.207.49] (HELO n30.bullet.mail.mud.yahoo.com) (68.142.207.49) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 21 Oct 2008 18:17:09 +0000 Received: from [68.142.200.221] by n30.bullet.mail.mud.yahoo.com with NNFMP; 21 Oct 2008 18:17:46 -0000 Received: from [68.142.201.65] by t9.bullet.mud.yahoo.com with NNFMP; 21 Oct 2008 18:17:46 -0000 Received: from [127.0.0.1] by omp417.mail.mud.yahoo.com with NNFMP; 21 Oct 2008 18:17:46 -0000 X-Yahoo-Newman-Property: ymail-5 X-Yahoo-Newman-Id: 652910.12270.bm@omp417.mail.mud.yahoo.com Received: (qmail 98692 invoked by uid 60001); 21 Oct 2008 18:17:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.mx; h=X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type:Message-ID; b=CMvm+uG374PbdhuQjELpstB7C8LdnJhJ0sj74EsQaK/IzeZJLjuHurweWIukGT8+i4OnMDM4rrj61YvjAt6o/34QxFmCPwI1RyiGnunc382TAvNtZA7xZ8xfaDtSj6MMAuxlVkMFS2BFTtXNY1xymdYc4xU4aH/i39vRylpRLRE=; X-YMail-OSG: lfWQB8cVM1kLqcfN_y1_gwA4LuRn7VndjDLPYpSWJ6bBlijdHou25L6DgEZbF1Hl1s2aBUK00ofRERYOF6MXdmiffmYlxUt1Nig9_PVK.F9rYuTGVtmWejAS3wOKbf3m8VboOV30C84x7_cLOzVbQw0QJSMVRuioAUbTD9dnawlmQWR5.wiUNhzJ1IQ- Received: from [201.116.131.100] by web45209.mail.sp1.yahoo.com via HTTP; Tue, 21 Oct 2008 11:17:45 PDT X-Mailer: YahooMailRC/1096.40 YahooMailWebService/0.7.218.2 Date: Tue, 21 Oct 2008 11:17:45 -0700 (PDT) From: Carlos de Luna Saenz Subject: Re: help ! please !!!! To: user-java@ibatis.apache.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1542854675-1224613065=:98630" Message-ID: <97781.98630.qm@web45209.mail.sp1.yahoo.com> X-Virus-Checked: Checked by ClamAV on apache.org --0-1542854675-1224613065=:98630 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable No te entend=C3=AD, si quieres mandame a mi correo personal un mail y veo s= i puedo ayudarte.=0Asaludos.=0A=0A=0A=0A----- Mensaje original ----=0ADe: "= pablo_1561719009@hotmail.com" =0APara: user-j= ava@ibatis.apache.org=0AEnviado: martes, 21 de octubre, 2008 12:08:43=0AAsu= nto: help ! please !!!!=0A=0A=0Ai have the followin object graph =0A!!!!!!= =0A =0Aclass Persona {=0A int id_per;=0A String name;=0A List =0Adomi;=0A}=0A =0Aclass Domicilio {=0A int id_per;=0A int id_= domi;=0A String street;=0A .... etc... some other =0Apropertis=0A}=0A= =0Ait is posible for example code ?=0A =0APersona p =3D new Persona(1,"pep= e")=0A =0Ap.getDomicilios().add( new Domicilio( 1, 100, "av. =0Axxxx 1");= =0Ap.getDomicilios().add( new Domicilio( 1, 101, "av. =0Axxxx 2");=0Ap.getD= omicilios().add( new Domicilio( 1, 102, "av. =0Axxxx 3");=0A =0AdaoPersona.= insert(p) //This dao insert data =0Ainto persona and domicilio ... ( i and= need this functionality )=0A =0Ait is posible Ibatis insert related data = =0Aautomaticaly or how to code the ibatis maps for this use case ?=0A =0AHO= W TO CONSTRUCT INSERT FOR TOW TABLES =0A?=0A =0ASorry muy english y too mor= e basic,,, im spanish... =0Athanks .....=0A=0A=0A ____________________= ________________________________________________________________=0APremios = MTV 2008=C2=A1En exclusiva! Fotos, nominados, videos, y mucho m=C3=A1s! Mir= a aqu=C3=AD http://mtvla.yahoo.com/ --0-1542854675-1224613065=:98630 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
No te entend=C3=AD, si quieres mandame a mi correo persona= l un mail y veo si puedo ayudarte.
saludos.

= ----- Mensaje original ----
De: "pablo_1561719009@hotmail.com" <pablo= _1561719009@hotmail.com>
Para: user-java@ibatis.apache.org
Enviado= : martes, 21 de octubre, 2008 12:08:43
Asunto: help ! please !!!!
=0A=0A =0A=0A
i have the followin obje= ct graph =0A!!!!!!
=0A
 
=0A
class Persona {
=0A
    int= id_per;
=0A
    String name;
=0A
    List<Domicilio> =0Adomi;
=0A
= }
=0A
 
=0A
class= Domicilio {
=0A
 &nbs= p;  int id_per;
=0A
    int id_domi;
=0A
  &nb= sp; String street;
=0A    .... etc... some o= ther =0Apropertis
=0A
}
=0A
 
=0Ait is posible for example code ?=0A
 
=0A
Persona p =3D new Persona(1,"pepe")
= =0A
 
=0A
p.getDomicilios().add( new Domicilio( 1, 100, "av. = =0Axxxx 1");
=0A
=0A
p.= getDomicilios().add( new Domicilio( 1, 101, "av. =0Axxxx 2");
= =0A
=0A
p.getDomicilios().add( new = Domicilio( 1, 102, "av. =0Axxxx 3");
=0A
 
=0A
da= oPersona.insert(p)  //This dao insert data =0Ainto persona and domicil= io ... ( i and need this functionality )
=0A
 
=0A
it is posible Ibatis insert related data =0Aautomaticaly or how to code t= he ibatis maps for this use case ?
=0A
 
=0A
HOW = TO CONSTRUCT INSERT FOR TOW TABLES =0A?
=0A
 
=0A
Sorry muy english y too more basic,,, im spanish... =0Athanks .....=
=0A
 
=0A
 
=0A
 
=0A
 

=0A=0A=0A=0A=0A=0A=0A =

=C2=A1Todo sobre Amo= r y Sexo!
La gu=C3=ADa completa para tu vida en Mujer de Hoy:
=0Ahttp= ://mujerdehoy.telemundo.yahoo.com/
--0-1542854675-1224613065=:98630--