I am not sure if this helps, but if you have a way to identify the
latest OdometerReading in DB then maybe defining a "where" in the
class mapping of the OdometerReading class could do the work for you.
For e.g.
<class name="OdometerReading" table="OdometerReading"
where="Latest='Y'">
</class>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"nhusers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nhusers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to