What is the reason of this error? My class is Course and it has notes. Mapping is as below. Any idea?
I have the following named SQL query defined: <sql-query name=\"ItemSearch\"> <return class=\"ItemSearchResult\">
I\'ve got a problem with fluent nhibernate table per class hierarchy mapping. I\'ve got 2 domain objects, container (baseclass) and album (subclass). Album only contains a constructor. Container dervi
I\'ve been fighting with an NHibernate set-up for a few days now and just can\'t figure out the correct way to set out my mapping so it works like I\'d expect it to.
Continuing my explorations in NHibernate with my podcast application, I\'ve come across something odd开发者_开发技巧: NHibernate is UPDATEing when I would expect an INSERT.The situation is a simple on
I\'m trying to map inheritance with discriminator, but subclasses don\'t have discriminator value. How to solve it using AutoMappings?
I\'m a new NHibernate developer. I\'m using attributes and not map files and I have configured the application to create the tables automatically.
My application is 开发者_C百科a multi-user podcast aggregator, using NHibernate 2.1 (and .NET 4.0 if that changes anything).I\'m also a complete NHibernate n00b.
I have two classes one of 开发者_如何学编程which inherits from the other. Im trying to use NHibernate to map these classes such that I can query both as efficiently as possible.
Let\'s say I have two classes: Item and ItemCollection, where ItemCollection contains an ordered list of Item objects with an index, i.e. the list is ordered in a way specified by the user.