Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Object Relational Mapping
Search Coderanch
Advance search
Google search
Register / Login
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Object Relational Mapping
getCurrentSession() after the transaction commits automatically close the current session?
stshiva raaj
Greenhorn
Posts: 28
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Will HibernateSessioFactory.getCurrentSession() after the transaction commits automatically close the current session? So I can not use session instance after commit. Correct ?
Jaikiran Pai
Sheriff
Posts: 10445
227
I like...
posted 9 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Please do not create multiple topics for the same question. Please continue the discussion in your other
thread
here
https://coderanch.com/t/634895/ORM/databases/Hibernate-getCurrentSession-close
[
My Blog
] [
JavaRanch Journal
]
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Multiple transaction in same session possible in hibernate??
Session is closed.
getting message "get is not valid without active transaction" while trying to delete using Hibernate
what is Transaction in hibernate
CurrentSession vs openSession
More...