Hi guys,

How do I break an object into multiple tables with iBatis. For example,
suppose the following object:

Message: dtMsg, Msg, annex, annex.

How would you write the fields: dtMsg and message, in message table and the
fields: annex, in other table. 

How can I map this situation. The second table must have a foreign key to
the first table(message).

This is an simple example. I have a complex object that should  to be mapped
in multiple tables.

How do this mapping? Can anyone give me an example please.

Thank you. 
-- 
View this message in context: 
http://www.nabble.com/Object-in-multiple-tables-tp25741806p25741806.html
Sent from the iBATIS - User - Cs mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-cs-unsubscr...@ibatis.apache.org
For additional commands, e-mail: user-cs-h...@ibatis.apache.org

Reply via email to