aspose file tools
The moose likes EJB and other Java EE Technologies and the fly likes Urgent Help Require regarding Hibernet Select statement cascade = Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Reply Bookmark "Urgent Help Require regarding Hibernet Select statement cascade = "save-update"" Watch "Urgent Help Require regarding Hibernet Select statement cascade = "save-update"" New topic
Author

Urgent Help Require regarding Hibernet Select statement cascade = "save-update"

Hemali da
Greenhorn

Joined: May 19, 2010
Posts: 14
Hi,

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 .
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

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?


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
I agree. Here's the link: http://zeroturnaround.com/jrebel/download
 
subject: Urgent Help Require regarding Hibernet Select statement cascade = "save-update"
 
Similar Threads
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