many-to-one
Problems with Self-referencing classes in Hibernate
I have an entity that models the parent/child structure, here is my hibernate mapping file: <hibernate-mapping>[详细]
2023-01-28 13:16 分类:问答Need help with a good design for many to one relationships with XML serialization in C#
Assuming I have some data in the form of Customer1 Name Address Order1 ID Products Product1 ID Product2 ID Customer2[详细]
2023-01-21 03:27 分类:问答Hibernate many-to-one relationship delete not working as expected
I have 3 tables as following: User has userId UserProductEntitlement has userId and productId and a boolean[详细]
2023-01-21 02:08 分类:问答NHibernate: Composite key many-to-one mapping: Can't resolve property (foreign key component)
I hope anyone can help. I have to develop up against this third party database and I am kind of stuck with their crappy design. Still, I want to use NHibernate so I will have to jump through hoops.[详细]
2023-01-19 21:30 分类:问答how do i automap an many-to-one relationship using fluent nhibernate
i have the following class: public class Worker { public int WorkerID {get;set;} public string Name { get;set;}[详细]
2023-01-19 00:48 分类:问答How to handle JPA Many-to-One Relation?
I am designing an application for collecting weather data. I have 2 POJO objects \"Location\" and \"Record\". Location contains information about latitude and longitude and the current weather conditi[详细]
2023-01-17 23:10 分类:问答Hibernate annotated many-to-one not adding child to parent Collection
I have the following annotated Hibernate entity classes: @Entity public class Cat { @Column(name = \"ID\") @GeneratedValue(strategy = GenerationType.AUTO) @Id[详细]
2023-01-01 10:24 分类:问答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 分类:问答Nhibernate Migration from 1.0.2.0 to 2.1.2 and many-to-one save problems
we have an old, big asp.net application with nhibernate, which we are extending and upgrading some parts of it. NHibernate that was used was pretty old ( 1.0.2.0), so we decided to upgrade to ( 2.1.2)[详细]
2022-12-30 12:32 分类:问答Hibernate criteria query using Max() projection on key field and group by foreign primary key
I\'m having difficulty representing this query (which works on the database directly) as a criteria query in Hibernate (version 3.2.5):[详细]
2022-12-28 21:52 分类:问答
加载中,请稍侯......