I think you need to intercept the nHibernate ISession and modify the
SessionInfo via Reflection.
Em quarta-feira, 16 de janeiro de 2013 11h33min43s UTC-2, Rob Van Pamel
escreveu:
>
> Hi,
>
> For a project I'm working on, i want to query over all the key values of a
> dictionary which is mapped as a Map.
> More specific, i want to query them case-insensitive.
>
> The query is as follows :
> "select elements(jobconfig.Dictionary) from JobConfig jobconfig " +
> "where
> upper('searchvalue') in indices(jobconfig.Dictionary)
>
> this works fine in MSSQL but not in Oracle because it is case sensitive.
>
> How can I can Capitalize the indices of jobconfig.Dictionary, in hql. This
> always throws an exception. I already tried Upper(...). Any ideas?
>
> Kind Regards
> Rob Van Pamel
>
--
You received this message because you are subscribed to the Google Groups
"nhusers" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/nhusers/-/mk7UOtff33YJ.
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.