Expert |
|
Joined: Thu May 26, 2005 9:19 am Posts: 262 Location: Oak Creek, WI
|
Hi,
If you are using session do flush the session.
i.e) session.flush()
If you have already flushed the session, refresh the session.
i.e) session.refresh()
Ideally when you refresh the session the inserted record should be in the List.
Which database are u using???
If you are using MySql. Check to see whether you have set this in config file.
transaction-isolation = READ-COMMITED"
_________________ RamnathN
Senior Software Engineer
http://www.linkedin.com/in/ramnathn
Don't forget to rate.
|
|