one-to-many
JPA OneToMany with inherited entities using DiscriminatorOptions and orphanremoval
I\'ve a problem, that I can\'t solve for days now. I have read many docs, searched many forums, but found no solution.[详细]
2023-04-13 08:23 分类:问答Ruby on Rails: One-to-many relationships, but I only want to retrieve just students and 1 homework
I\'ve 2 objects, Student 开发者_StackOverflow社区and Homework. This is a one-to-many relationship where a student can have many Homeworks[详细]
2023-04-13 00:17 分类:问答Nhibernate one-to-many association
I have such a simple model: public abstract class Entity { public virtual Guid Id { get; protected set;}[详细]
2023-04-13 00:17 分类:问答NHibernate on-delete="cascade" with relationship on many side
I have an object model like that: Folder - simple structure with name etc. File - complex object containing reference to Folder in which it is contained.[详细]
2023-04-12 19:50 分类:问答A lookup table for one-to-many relationship?
I understand that a lookup table is necessary when we are dealing with many-to-many relationship. But what about one-to-many relationship - do we need a lookup table or a foreign key in one of the ta[详细]
2023-04-12 06:30 分类:问答Django: one-to-many queries
I got a lot of one-to-many relationships in my database structure. For example, you have a user, the user has many degrees, he has many emails, he has many contracts, etc.[详细]
2023-04-12 03:22 分类:问答how does toplink session.refreshObject() handle one to many mappings?
am using the Session.refreshObject(Object o) method to fresh an object that has a getList() method. This开发者_Go百科 list is provided by toplink using a one to many mapping. When I refresh the object[详细]
2023-04-11 11:52 分类:问答How to select records from table1 which have table3 options in table2?
Let\'s say, I have three tables: table1: contains various records; table2: contains what records have what options;[详细]
2023-04-11 05:39 分类:问答What's a LINQ query to search through related (1:m) records for a specific string?
I thought I\'d find an answer readily, but not so far. I have related tables -- Blog and Tags. The Tags schema looks like this:[详细]
2023-04-11 03:44 分类:问答Link rows in a MySQL table
I have a question about MySQL. I have this table structure: IDName ------------------ 1Peter 2John 3Carl 4William[详细]
2023-04-10 13:33 分类:问答