I have a scenario where i have the same table columns but with different names like TicketBooking
and TicketBookingHistory
. I have a single pojo class TicketBooking
. Is it possible to provide more than one mapping for this persistent class that is one for TicketBooking
and one for TicketBookingHistory
? If so how to do it ?
Thanks