Top "Automapping" questions

The convention-based Auto Mapping feature of Fluent NHibernate.

How to solve "Batch update returned unexpected row count from update; actual row count: 0; expected: 1" problem?

Getting this everytime I attempt to CREATE a particular entity ... just want to know how I should go about figuring …

nhibernate fluent-nhibernate automapping
Eager Loading Using Fluent NHibernate/Nhibernate & Automapping

I have a requirement to load a complex object called Node...well its not that complex...it looks like follows:…

nhibernate fluent-nhibernate eager-loading automapping
Override for fluent NHibernate for long text strings nvarchar(MAX) not nvarchar(255)

When ever you set a string value in fluent NHibernate it alwasy sets the DB vales to Nvarchar(255), I need …

c# nhibernate fluent-nhibernate automapping sharp-architecture
Jquery post to Action with Dictionary Parameter

I am feeling dejavu, but I cannot find the answer to this: I have an array of objects that needs …

javascript jquery asp.net-mvc asp.net-mvc-2 automapping
Generate C# entities from existing DB and Fluent NHibernate auto mapping

I'm working with an existing database that uses some really ugly conventions. I'd like to use NHibernate, and I think …

c# nhibernate fluent-nhibernate code-generation automapping
Cascade Saves with Fluent NHibernate AutoMapping

How do I "turn on" cascading saves using AutoMap Persistence Model with Fluent NHibernate? As in: I Save the Person …

fluent-nhibernate automapping
C# - IDataReader to Object mapping using generics

How can I map a DataReader object into a class object by using generics? For example I need to do …

c# ado.net mapping automapping
Spring 3.0.5 - Adding @ModelAttribute to handler method signature results in JsonMappingException

I'm not sure whether this is a misconfiguration on my part, a misunderstanding of what can be accomplished via @ModelAttribute …

json spring-mvc automapping jackson modelattribute
Getting "unable to cast PersistentGenericSet to ISet" error

I get this error: Unable to cast object of type 'NHibernate.Collection.Generic.PersistentGenericSet1[IocWinFormTestEntities.People]' to type 'System.…

c# nhibernate automapping
Automapping doesn't have an Id mapped

My Entity Class: public class Building { /// <summary> /// internal Id /// </summary> public virtual long Id { get; set; } .............. } …

fluent-nhibernate automapping