2009/6/3 Dmitiry Nagirnyak <[email protected]> > > According to what you mentioned I think I can to do the following: > 1. Use HQL "from Meeting m where IsPointAfterTimeslot(:timeToCompare, > m.StartDate, m.Duration)" > 2. Create a function IsPointAfterTimeslot that takes 3 parameters for each > Database. > 3. Extend all the dialects I have to support with additional function. > > Is it the best approach or you can suggest something better? > > Perhaps, for this specific case, you can use standard value comparison for ranges (as '>=', '<=', '>', between ...)
-- Fabio Maulo --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
