table-per-class
how to achieve table per concrete class when base class is abstract in fluent nhibernate?
i have the following scenario public abstract class BaseClass { public virtual int Id {get; set}; public virtual string Name {get; set;}[详细]
2023-04-04 00:32 分类:问答JPA TABLE_PER_CLASS problems with ManyToOne
I have the following hierarchy @MappedSuperclass @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)[详细]
2023-03-23 05:45 分类:问答Hibernate TABLE_PER_CLASS with @MappedSuperclass won't create UNION query
I am trying to create a series of objects that all are stored in separate tables, but that there is a set of fields in common on all these tables.I want Hibernate to do a UNION of all these tab开发者_[详细]
2023-03-18 04:58 分类:问答How-to: Mapping (NHibernate) multiple classes with different business logic from the same table?
I am currently working with a brownfield database which contains a table which holds data for 3 different sorts of business. It h开发者_StackOverflow社区as to do with SalesOrders and orderlines. In th[详细]
2023-03-01 18:11 分类:问答JPA TABLE_PER_CLASS inheritance: How to only SELECT superclass entries?
I\'m using EclipseLink as the JPA provider. Further I\'m using the following TABLE_PER_CLASS inheritance structure[详细]
2023-01-26 06:41 分类:问答Can you change from a base class to a joined subclass type in nhibernate?
I have document scanning system where several types of documents are scanned. Initially, the document has no information when its scanned, then they get classified and additional information is entere[详细]
2023-01-17 02:08 分类:问答Java/Hibernate JPA: InheritanceType.TABLE_PER_CLASS and IDs
I\'m using Hibe开发者_Go百科rnate JPA. Suppose I have these classes: AbstractPerson |--> ConcreteEmployee[详细]
2023-01-05 12:51 分类:问答Table per-subclass strategy when populating a large tree from a database using NHibernate
I开发者_Go百科 am using NHibernate to load a large tree of objects of different types. Mapping is implemented using table-per-subclass strategy. I defined a base class \"Node\" that has only a few fie[详细]
2022-12-13 08:55 分类:问答