cascade
How to cascade save a simple shared primary key one-to-one mapping in hibernate 3.6
I need a simple hibernate example of an entity with a one-to-one relationship with another entity where they both share the primary key.I need to only have to save the main entity that is auto-generat[详细]
2023-01-24 06:23 分类:问答Cascade delete performance drop on bigger datasets, can this be caused by lack of indexing?
I\'m writing some code that has to cascade delete records in a certain database, and I noticed a drop in performance as the database has more records in it. When I just fill the database it doesn\'t s[详细]
2023-01-23 04:03 分类:问答How to cascade delete an entry without cascading into ManyToMany relations
I have a piece of code that \'updates\' an entry in the database by first cascade deleting it, and then replacing it with a new object, because I had a lot of problems trying to update it normally. Th[详细]
2023-01-22 08:09 分类:问答Zend db cascade delete multiple levels
How does one make Zend Db cascade delete multiple levels of th开发者_JAVA技巧e hierarchy? For example:[详细]
2023-01-18 19:06 分类:问答How to delete child records instead of setting foreign key to null
I have a User and a set of Authorities in a one-to-many relationship: User.hbm.xml: <set name开发者_开发问答=\"authorities\" table=\"authorities\" cascade=\"all-delete-orphan\">[详细]
2023-01-17 05:14 分类:问答What is the difference between cascade & inverse in hibernate, what are they used for?
How to use cascade and inverse in hibernate? What is the procedure/tag to define them? Are they related to each other and how are they use开发者_JS百科ful?In case of many-to-many relation through inte[详细]
2023-01-15 12:22 分类:问答How do I specify a mysql cascade rule for the following
In mysql, I\'ve got the following: TABLE docs ( ID title content ) TABLE specialDocs ( docID -> docs(ID) userID -开发者_Python百科> users(ID)[详细]
2023-01-14 01:40 分类:问答Hibernate: cascade question
In hibernate, there are many information about set cascade to \"all, delete\" and so on, but I want to know the effect of set cascade to \"none\"[详细]
2023-01-13 02:09 分类:问答Symfony schema works on my local server, but gives foreign_key constraint issues moving to Dreamhost
I\'m using symfony 1.4 and doctrine. I\'ve spent the last couple days playing with my schema, and I\'ve gotten it to load up / build / behave properly but only on my local machine. When I copy the fil[详细]
2023-01-11 16:55 分类:问答Cascade tree deleting in MS SQL Server Express 2005
One table has the name \"Stages\", every Stage can have 0 to infinity children.In the table \"Stages\" there is a column named \"Parent\". This column is foreign a key for the same table \"Stages\".[详细]
2023-01-10 04:17 分类:问答