Was this ever fixed? I just downloaded 1.2 and ran into this problem. The formula was working as expected in 1.1, but now my code is borked because of this issue.
On Mar 27, 8:21 pm, Krzysztof Koźmic <[email protected]> wrote: > Hi, > > I've been trying to have a calculated property with aformulaspecified > so the mapping in HBM would look like: > > <property name="Foo"formula= "from bar select baz" /> > > If I want to > do it via IPropertyConvention though and I specifyformulait still adds > a column element (there is no column in the database) and NHibernate > ignores theformulaand just tried to get the value from column, which > obviously fails. > > So I'm thinking either whenformulais specified it should wipe out all > columns (I'm not sure if there is a scenario where you would want to > have a column and aformulasince theformulawould be ignored then but > perhaps there is). > Alternatively having an option to manually say "the column does not > exist" would also be acceptable. -- You received this message because you are subscribed to the Google Groups "Fluent NHibernate" 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/fluent-nhibernate?hl=en.
