joined-subclass
NHibernate: JoinedSubclass, HasMany
I use FluentNHibernate (Automapping) for mapping, NHibernate 3.2 for data access and SchemaExport to generate my database.[详细]
2023-03-30 06:22 分类:问答NHibernate cascading deletes in associated joined subclasses
I\'m currently working on a small PoC project and decided to take NHibernate for a spin for the persistence part.[详细]
2023-03-25 01:24 分类:问答Nhibernate multiple levels hierarchy mapped as joined subclasses fails to work with base class property
I have following hierarchy: ClassA->ClassB->ClassC->ClassD ClassB has PropertyA. All classes are mapped as joined subclasses with table per-class.[详细]
2023-03-23 15:13 分类:问答Unknown entity issue for joined subclass when using annotation
I met exception when using annotated joined subclass, i don\'t know how to correct it, please help. Exception is: org.hibernate.MappingException: Unknown entity: B[详细]
2023-03-21 19:25 分类:问答Change column for joined class mapping in Fluent NHibernate Automapping
I have an inheritance public abstract class UserEntity : Entity { public virtual int Id { get; pr开发者_StackOverflowotected set; }[详细]
2023-03-21 18:37 分类:问答With Hibernate joined-subclasses, is it possible to duplicate columns in super and sub-tables *and* keep them in sync?
So I have an interesting situation.I\'ve inherited a big mess of code where the original developer decided to forego using inheritance in favor of enums and switch statements...it\'s a perfect example[详细]
2023-03-07 00:20 分类:问答Fluent NHibernate - mixing table-per-subclass and table-per-class-hierarchy
Give the following structure, MyBaseClass { public int Id {get; private set;} } MySubclassWithDiscriminator : MyBaseClass {[详细]
2023-02-27 04:58 分类:问答Hibernate cannot create joined sub-class table while using annotation
I am new to Hibernate and I cannot create joined sub-class table while using Hibernate annotation. Here is my code.[详细]
2023-02-25 17:24 分类:问答NHibernate - Table per subclass inheritance causing "Invalid Cast" exceptions
I have a simple table-per-subclass inheritance with the following NHibernate mapping <hibernate-mapping xmlns=\"urn:nhibernate-mapping-2.2\" default-access=\"property\" auto-import=\"true\" defaul[详细]
2023-02-22 04:02 分类:问答Controlling result list from org.hibernate.Query.list when using joined subclass
I have a User class, which is mapped to the \"USERS\" table in database with Hibernate. There is also a class ApplicationUser, which extends the User class and is mapped as a joined subclass in Hibern[详细]
2023-02-12 08:49 分类:问答