Probably, but I don't see how that is gonna help me since I need the conversion inside a max function and therefore the result of the cast becomes the input to my call to the aggregate max function...
This needs to be implemented in hql by modyfying the Dialect.cs and/or MsSql2000Dialect.cs files...
Though the good news is I've started on it, please if someone has some suggestions for how I should do this to make it good enough to maybe become patched into the main branch I'd be very pleased...
At the moment now I've implemented it in Dialect.cs, though the problems is the aggregate doesn't take only one argument, it takes a string and a type like this: "cast(myColumn AS int)" meaning it becomes garbled...
Thomas
|