composite-id
NHibernate issues redundant queries with composite keys
For the sake of the example, let\'s say that I have to model the \"person\" entity of the database of my country\'s revenue service, and that in my very small country the first name and the last name[详细]
2023-03-23 03:01 分类:问答Hibernate: Insert a new row by changing a portion of a composite-id primary key?
I am trying to insert new rows into the database but failing to get Hibernate to recognize that my objects must be inserted.I have a Sponsor table, a Course table, and a SponsorCourse table which is a[详细]
2023-03-20 14:08 分类:问答Fluent Nhibernate 3 Mapping Composite Field (Custom Type)
HI all, my scenario public class Permission { public virtual Function Function { get; set; } public virtual Profile Profile { get; set; }[详细]
2023-03-09 04:40 分类:问答Fluent NHibernate compositeid to mapped class
I\'m trying to figure out how to use CompositeId to map another class. Here\'s a test case: The tables:[详细]
2023-02-18 14:28 分类:问答NHibernate: child composite-id is not updated when using merge()
Mapping: <class name=\"PhoneTypeTest\" lazy=\"false\" table=\"PhoneType\"> <cache usage=\"read-write\"/>[详细]
2023-01-27 10:44 分类:问答nhibernate - problem with merging collections
I have parent/child relationship, and child have composite id Parent <id name=\"Id\" type=\"Int32\">[详细]
2023-01-03 22:57 分类:问答JPA entities -- org.hibernate.TypeMismatchException
Environment: JDK 1.6, JEE5 Hibernate Core 3.3.1.开发者_如何转开发GA, Hibernate Annotations 3.4.0.GA[详细]
2022-12-31 15:46 分类:问答NHibernate, could not load an entity when column exists in the database
This is probably a simple question to answer but I just can\'t figure it out. I have a \"Company\" class with a many-to-one to \"Address\" which has a many to one to a composite id in \"City\". When[详细]
2022-12-31 07:30 分类:问答Hibernate mapping issue with composite-id
I am using hibernate3 in my java app to access sqlserver 2008 enterprise. The hibernate mapping uses composite id and when i try to load model it returns null. I spent days to resolve it but still no[详细]
2022-12-27 09:25 分类:问答NHibernate - composite-id - 3
I have a class in Nhibernate hbm file and for this I\'m using a composite id field, in the following way :[详细]
2022-12-18 12:30 分类:问答