-
Notifications
You must be signed in to change notification settings - Fork 934
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NH-3565 - StartsWith / EndsWith / Contains don't use correct AnsiString type #1166
Comments
Hm.. All of these methods generate nhibernate-core/src/NHibernate/Hql/Ast/ANTLR/Tree/BinaryLogicOperatorNode.cs Lines 56 to 66 in 74b97af
should handle and apply proper parameter type (where But this functionality is broken because parameter is guessed and specified for constant as StringType when LINQ query is processed: nhibernate-core/src/NHibernate/Linq/Visitors/ParameterTypeLocator.cs Lines 159 to 164 in ec634f5
If this guessing is removed - parameter is properly applied as |
Oups.. Without guessing parameter detection only properly works for |
For possible fix see #2793 (comment) |
Nicolás Sabena created an issue — 4th November 2013, 19:25:46:
Alexander Zaytsev added a comment — 4th November 2013, 20:16:11:
Nicolás Sabena added a comment — 4th November 2013, 23:13:12:
paul added a comment — 8th June 2017, 17:15:17:
Frédéric Delaporte added a comment — 8th June 2017, 18:16:34:
paul added a comment — 8th June 2017, 18:51:06:
Frédéric Delaporte added a comment — 8th June 2017, 19:34:17:
paul added a comment — 9th June 2017, 12:29:17:
Frédéric Delaporte added a comment — 9th June 2017, 14:45:57:
Frédéric Delaporte added a comment — 9th June 2017, 14:59:48:
paul added a comment — 9th June 2017, 16:25:12:
The text was updated successfully, but these errors were encountered: