Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

a hibernate commit() question

 
twin yan
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
if let's say i have a User user
and i have a Session sesh

and i do


the question is what will the second commit do ?
will it enter that same user twice with a diffrent id ?
or will it forget his data after the first commit has happend(and do nothing)?
thanks in advance to all helpers!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic