| Hi all,I need to save an object in final or draft state and I can not use a boolean flag to indicate that state. So I'll need to replicate the table (table_final_state and table_draft_state).
 
 Questions are:
 
 1 - Can I map the same object to two different tables? How?
 2 - How can I "override" the persist process in order to persist the object to one or the other table?
 3 - How can I "override" the loading process? I need to look in the draft table first, and if not data is found, then look in the final table.
 
 Thanks a lot in advance,
 Mario.
 
 
 |