• Post Reply Bookmark Topic Watch Topic
  • New Topic

When hibernate session closed retrieve table data lost

 
Sameera Abeysekara Gunawardena
Ranch Hand
Posts: 37
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I wire to application frame work with struts and hibernate.this is the data base manipulation application.

In this application retrieve data using hibernate and store data in vector.but there is a problem when I retrieve data and put in to the vector and close the session but when I close the hibernate session data will be lost. I can not understand what was happened.

Please advice to solve this problem.

Thanks
Sameera
 
Paul Sturrock
Bartender
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I presume this is just a reposting of this?

 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!