A quick text search on the NHibernate sources shows there aren't any
unit tests for noop, so it may make sense to file a bug report
including test case (see
http://nhforge.org/blogs/nhibernate/archive/2008/10/04/the-best-way-to-solve-nhibernate-bugs-submit-good-unit-test.aspx).

Regards,
Gerke.

On Dec 18, 11:00 pm, DP <[email protected]> wrote:
> Hi there
>
> I was wondering if anyone knows how to use the access=noop operator in
> NHibernate.  I keep getting a exception "NHibernate.MappingException:
> property mapping has wrong number of columns" whenever I try to uses
> the access="noop" syntax.
>
> My mapping
> <property name="Test" column="GPA_HOURS" access="noop" />
>
> I want to be able to use the field in HQL but I don't need the field
> in my class
>
> Thank
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to