Fail with HQL ? mmmmmmmmmmmm don't think so On Fri, Sep 24, 2010 at 11:59 AM, Keith Bloom <[email protected]> wrote:
> Hello, > > I'm using an IUserType to to map integers in the database to booleans. > I've just checked out and update to NH 3 and I'm now getting an excpetion: > > Unable to cast object of type 'NHibernate.Type.CustomType' to type > 'NHibernate.Type.BooleanType' > > I little digging and it appears to be related to this issue, > http://216.121.112.228/browse/NH-2234?page=com.atlassian.streams.streams-jira-plugin:activity-stream-issue-tab > Although > I found that it fails using the LINQ provider or HQL. But for a Criteria > query is works fine. > > I'd appreciate any advice in case I'm wrong and there is a change to how > IUserType work from V1.2 to V3 which I'm missing. > > Thanks, Keith. > > -- > 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]<nhusers%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/nhusers?hl=en. > -- 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.
