I have the following HQL WHERE clause:

where tbl1.DateTimeField + tbl2.TimeSpanField
>= :someDateTimeParameter

this translates pretty much literally into TSQL. However, such TSQL is
invalid, as you can't add a DateTime to a BigInt (my timespan).

How do I solve this problem? Is there some HQL trick i can employ, or
do i need some TSQL UDF? If so, what would the UDF need to look like
and how do i call if from HQL?

Thanks

Andrew
--~--~---------~--~----~------------~-------~--~----~
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