• Post Reply Bookmark Topic Watch Topic
  • New Topic

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

 
Hemali da
Greenhorn
Posts: 15
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!