1. saveorUpdate method reinit collection forum.hibernate.orgNewbie Joined: Thu Mar 25, 2010 5:55 am Posts: 3 Hi, Im a newbie in hibernate and id like to implement a simple struts2+hibernate crud. I have a pb with the saveorUpdate() method. When I try to update the parent with new element in the child Set it reinit the child Set before updating. I am a little bit lost, could ... |
2. Garbage collection interaction with Session.saveOrUpdate() forum.hibernate.orgAre objects kept in memory when saveOrUpdate() from Session is called or is that using a weak reference to the objects? I couldn't find any pointer (pun intended) in the documentation. I have a small application uploading test data and I create lists of objects and call saveOrUpdate() on each object. If I cycle through a list and then create a ... |
3. newbie: saveOrUpdate does not update Collection forum.hibernate.org |
4. Collections saveorupdate ---server freezes forum.hibernate.orgI am using hibernate 3.0.5 and oracle driver 10.0.2. The problem i am having is i have an object which has a collection(one-many). if the collection has one item then the saveorupdate on the parent works fine but if the collection has more than one item than it goes into the exception block and hibernate starts printing the stack of sql ... |