• Post Reply Bookmark Topic Watch Topic
  • New Topic

When hibernate session closed retrieve table data lost  RSS feed

 
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?

 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!