This is a general question for which I havent gotten a satisfactory answer so far.
I have a class that depending on the context of my program I want to map it to a different table. Basically the scenarios would play out like this:
+Class A needs to be persisted into two different tables as follows: +If the program is handling billing then Class A should be mapped into Table A1 +If the program is using the customer research component then Class A should be mapped into Table A2
Is my question clear? And if it is, is the above at all possible?
Thanks in advance for your help,
Jonatan
|