A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Urgent Help Require regarding Hibernet Select statement cascade = "save-update"
Joined: May 19, 2010
Sep 13, 2010 06:55:33
I am using hibernate in that i have used from statement for fetching data . the column which i m fetching from database which is having attribute cascade="save-update" so it updates in my database...
can any buddy please help me regarding this.........
it should not update the database but still doing it .
Joined: Apr 14, 2004
Sep 13, 2010 07:29:33
So - you've defined an association using the cascade attribute with a value of "save-update" and it cascading the update to the associated entity? What makes you think it should not update the database?
I agree. Here's the link:
subject: Urgent Help Require regarding Hibernet Select statement cascade = "save-update"
displaying data in table format
Testing persistence or method?
what changes should i made in save method in one-to-many relationships
Session update method in hibernate?
Performance issue - reading a flat file with millions of records and save them to database
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013