bidirectional-relation
Can't clear a list of related entity beans from an entity bean
I\'m trying to run the code below, but I keep getting the error \"Cannot merge an entity that has been removed\".[详细]
2023-04-12 14:46 分类:问答Bidirectional relationship with superclass entity property in JPA
I\'m tying to implement some tree-like structure with JPA. I have a \"folder\" entity and a \"test\" entity. Folder can contain both folders and tests. Test doesnt contains anything.[详细]
2023-04-10 10:49 分类:问答Fluent NHibernate insert parent id problem with HasMany relationship
I can\'t understand why NHibernate is inserting a child entity without the foreign key of the parent.[详细]
2023-04-05 01:51 分类:问答Does NHibernate really deliver transparent persistency
Starting to use Nhibernate for persistency being seduced by the promise that it respects your domain model, I tried to implement a relation manager for my domain objects. Basically, to DRY my code wit[详细]
2023-03-30 03:08 分类:问答NHibernate - three bidirectional relations between three classes gives N+1
I\'m having bit complicated object model that forms a triangle. There is User entity that has collections of Items and Taxonomies. Item has a taxonomy, too. And for convenience, I wanted Item and Taxo[详细]
2023-03-19 22:15 分类:问答How to handle bidirectional relationships when constructing hibernate entities?
I want to model the relationship between two entities, a group开发者_开发百科 and an account with JPA/Hibernate. An account can have several groups, but not vice versa, so we have a OneToMany relation[详细]
2023-03-17 12:03 分类:问答What would my SQL statement be to insert "Arnold Schwarzenegger" and "Hasta la vista baby" into these two empty SQL tables?
What would my statement be to insert \"Arnold Schwarzenegger\" and \"Hasta la vista baby\" into the following empty SQL tables?[详细]
2023-02-14 20:31 分类:问答Implementing Bi-Directional relationships in MongoEngine
I\'m building a Django application that uses MongoDB and MongoEngine to store data. To present a simplified version of my problem, say I want to have two classes: User and Page. Each page should assoc[详细]
2023-01-18 23:20 分类:问答Why hibernate perform two queries for eager load a @OneToOne bidirectional association?
i have entity A that has-a 开发者_运维问答B entity, and B has-a A with @OneToOne bidirectional association.[详细]
2023-01-09 13:57 分类:问答Bi-directional association between Footballer Mapper and Bowler Mapper
This question is about a specific UML diagram in the book called Patterns Of Enterprise Application Architecture, by Martin Fowler.[详细]
2022-12-17 16:56 分类:问答