Return-Path: Delivered-To: apmail-ibatis-user-java-archive@www.apache.org Received: (qmail 79604 invoked from network); 9 May 2006 04:55:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 9 May 2006 04:55:56 -0000 Received: (qmail 10404 invoked by uid 500); 9 May 2006 04:55:54 -0000 Delivered-To: apmail-ibatis-user-java-archive@ibatis.apache.org Received: (qmail 10387 invoked by uid 500); 9 May 2006 04:55:54 -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 10370 invoked by uid 99); 9 May 2006 04:55:53 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 21:55:53 -0700 X-ASF-Spam-Status: No, hits=0.6 required=10.0 tests=HTML_MESSAGE,NO_REAL_NAME X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [203.91.201.15] (HELO wip-cdctls-mx1.wipro.com) (203.91.201.15) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 May 2006 21:55:51 -0700 Received: from wip-cdctls-mx1.wipro.com (localhost.localdomain [127.0.0.1]) by localhost (Postfix) with ESMTP id 8D0E43C4007 for ; Tue, 9 May 2006 10:17:35 +0530 (IST) Received: from chn-snr-bh1.wipro.com (chn-snr-bh1.wipro.com [10.145.50.91]) by wip-cdctls-mx1.wipro.com (Postfix) with ESMTP id 821473C4006 for ; Tue, 9 May 2006 10:17:35 +0530 (IST) Received: from HYD-MDP-MBX01.wipro.com ([10.150.50.181]) by chn-snr-bh1.wipro.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 9 May 2006 10:25:26 +0530 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C67324.C9230A85" Subject: Need help in mapping of one object to Two tables Date: Tue, 9 May 2006 10:25:24 +0530 Message-ID: <2E7899FA2A83AB4480078DA88C8F10FB011765C5@HYD-MDP-MBX01.wipro.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Need help in mapping of one object to Two tables Thread-Index: AcZzJMh8Cw33/JK2Sl6g0sAyiJUlxQ== From: To: X-OriginalArrivalTime: 09 May 2006 04:55:26.0180 (UTC) FILETIME=[C969AA40:01C67324] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C67324.C9230A85 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable =0D Hi, =0D I need to map one Person object to Two tables. Is it possible in Ibatis? Here i am giving the complete info. =0D I have one Person Object with both static properties and dynamic properties. The static properties are - id, name, the dynamic properties are propertyname, property value. =0D And i have two tables one to store Person static properties and the 2nd table is to store dynamic properties. =0D Following is the table structure =0D STATIC_PROP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D id name=0D =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =0D =0D =0D =0D =0D DYNAMIC_PROP =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D id properyName propertyValue =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D =0D =0D =0D Now my requirement is to insert one Person object into these two tables. Is this possible in Ibatis?=0D =0D =0D Thanks n Regards, =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D Rambabu Piridi. =0D The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and= may contain proprietary, confidential or privileged information. If you= are not the intended recipient, you should not disseminate, distribute or= copy this e-mail. Please notify the sender immediately and destroy all= copies of this message and any attachments.=0D WARNING: Computer viruses can be transmitted via email. The recipient= should check this email and any attachments for the presence of viruses.= The company accepts no liability for any damage caused by any virus= transmitted by this email. =0D www.wipro.com ------_=_NextPart_001_01C67324.C9230A85 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
 
Hi,
 
I need to= map=0D one Person object to Two tables. Is it possible in Ibatis?=0D
Here i am= giving the=0D complete info.
 
I have= one Person=0D Object with both static properties and dynamic= properties.
The= static=0D properties are  - id, name,
 the= dynamic=0D properties are propertyname, property value.
 
And i= have two=0D tables one to store Person static properties and the 2nd table is to= store=0D dynamic properties.
 
Following  is the table structure
 
STATIC_PROP
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
id           &n= bsp;            = ;          =0D name
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D
 
 
 
 
 
DYNAMIC_PROP
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D
id           &n= bsp;            = ;=0D properyName          &nbs= p;            &= nbsp;          =0D propertyValue
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D
 
 
 
Now my= requirement=0D is to insert one Person object into these two tables. Is this possible= in=0D Ibatis?
 
 
Thanks n=0D Regards,
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D
Rambabu=0D Piridi.
 

The information contained in this electronic message and any attachments to= this message are intended for the exclusive use of the addressee(s) and= may contain proprietary, confidential or privileged information. If you= are not the intended recipient, you should not disseminate, distribute or= copy this e-mail. Please notify the sender immediately and destroy all= copies of this message and any attachments.

WARNING: Computer viruses can be transmitted via email. The recipient= should check this email and any attachments for the presence of viruses.= The company accepts no liability for any damage caused by any virus= transmitted by this email.

www.wipro.com
------_=_NextPart_001_01C67324.C9230A85--