Hello,
I am in a situation I can't find a mapping for. I have a utility class TimeLine that contains a Map. This map contains references to Persistent Object.
Example :
Code:
class TimeLine {
private Map<Date, Object>
}
class Customer {
private TimeLine<Date, Contract>
}
class Contract {
//attributes here.
}
I've succesfully mapped the following system :
Code:
class Customer {
private Map<Date, Contract>
}
which has nothing tough, but I can't find a mapping that introduces the TimeLine object without persisting it (it's not an entity). The problem is that TimeLine introduces an object between the 2 entities, and I can't find a way to to this. I can't find a documentation entry that describes this case. A solution would be to tell hibernate not to see the TimeLine object and directly use its Map attribute ?
Can someone help me ?
Thank you
Dom