Consider a situation where user 1 query the database thorugh application using hibernate(get or load or from customer where name = "gkp") he gets the data.After this a DBA manually updates that particular row by exeuting a update query in db.If a second user executes the same query will he get the updated data or the old one(which the user 1 sees).
Will hibernate store the results in session and gives back to the second user.What happens actually?