When specifying a query that uses a "contains" as a filter NHibernate
builds
like ('%'||?||'%'))
This fails on V4R5 with "IBM.Data.DB2.iSeries.iDB2SQLErrorException:
SQL0418 Use of parameter marker not valid." because that syntax
requires that you type the parameter markers; i.e.
like ('%'||CAST(? AS CHAR(30))||'%'))
I'm really not sure whether to report this as a bug or feature
request, or if someone else has encountered this and has a workaround.
Enlightening comments appreciated.
--
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.