Is this what you are trying to achieve
<class name="DriverEntry">
<composite-id name="id" class="DriverEntryKey">
<key-property name="driverId"/>
<key-property name="date" type="date"/>
</composite-id>
<property name="name"/>
<many-to-one name="driver" class="Driver">
<column name="driverId"/>
// all other columns
</many-to-one>
....
</class>
You will have to tweak the answer a bit according to your requirements