I just upgraded from fluent nhibernate 1.1 (with nhibernate 3.1) to FluentNhibernate 1.3(with Nhibernate 3.3).
i have a inheritance tree where base class is abstract:
public abstract class Student {
string Firstname;
string Lastname;
}
public class DayStudent : Student {}
public class NightStudent : Student {}
public class School {
List<Student> Students;
}
in Nhibernate 3.1 i had a table for Student(with firstname and lastname columns) and 2 other table for DayStudent and NightStudent. This is Table per conceret i had before. now in Nhibernate 3.3 it throws Exception "Cannot instantiate abstract class or interface" when i access Students collection of School class. my mapping was working greatly in nhibernate 3.1 before.
what has changed in this version? how can i fix it ?