ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <rambabu.pir...@wipro.com>
Subject Need help in mapping of one object to Two tables
Date Tue, 09 May 2006 04:55:24 GMT


I need to map one Person object to Two tables. Is it possible in Ibatis?

Here i am giving the complete info.

I have one Person Object with both static properties and dynamic
The static properties are  - id, name,
 the dynamic properties are propertyname, property value.

And i have two tables one to store Person static properties and the 2nd
table is to store dynamic properties.

Following  is the table structure

id                                   name

id                         properyName

Now my requirement is to insert one Person object into these two tables.
Is this possible in Ibatis?

Thanks n Regards,
Rambabu 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.

View raw message