cascade
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 分类:问答JPA need for explicit .refresh on Entity indepent of CascadeType.REFRESH?
Why isn\'t my CascadeType.REFRESH actually refreshing my entities? When adding an object it doesn\'t update the collection (still empty).[详细]
2023-04-12 06:12 分类:问答Hibernate 3 On delete cascade
I have a many-to-on开发者_如何学Goe mapping on bookings. A booking must belong to a room. And a room can have several bookings.[详细]
2023-04-11 11:32 分类:问答How to delete on cascade on Rails 2
I have this DB design: contracts id name allotment id name contract_id allotments开发者_运维技巧_rooms[详细]
2023-04-11 05:34 分类:问答JPA ManyToMany relation update failed due to constraint key in another relation
While developing an Eclipse GEF application using an eclipselink implementation of JPA i have found an error that has been annoying me for a while:[详细]
2023-04-10 18:05 分类:问答Referential Integrity does not work in N:N relation
This is ms create table script: It is a N:M relation between the SchoolclassCode and the Pupil table CREATE TABLE Schoolclasscode ([详细]
2023-04-10 04:17 分类:问答Cascade Grouping sql rows into Xml nodes
I have the following rows: ID|Customer | Part Number | Part Number Price | Hardware ID | Hardware Value[详细]
2023-04-09 07:06 分类:问答How to cascade deletions with Doctrine 1.2?
I have been struggling with defining cascade behavior in Doctrine ORM. According to the documentation, one is supposed to use onDelete: CASCADE for database-level cascade (which is what I am trying t[详细]
2023-04-06 21:10 分类:问答Rails: On-the-fly Destroy cascade?
I know that destroy cascade will work if prop开发者_如何学Pythoner relationships are setup in the models, but I want to know whether there is a way to destroy cascade on-the-fly, without needing to ha[详细]
2023-04-06 04:05 分类:问答Entity Framework Code first - FOREIGN KEY constraint problem
I\'m new to EF code first principal and currently with no clue what to do.. I have 2 POCO classes.. public class Problem[详细]
2023-04-04 07:27 分类:问答