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
Post Reply
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:
Tim Cooke
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Liutauras Vilda
Sheriffs:
Rob Spoor
Junilu Lacar
paul wheaton
Saloon Keepers:
Stephan van Hulst
Tim Moores
Tim Holloway
Carey Brown
Scott Selikoff
Bartenders:
Piet Souris
Jj Roberts
fred rosenberger
Forum:
Object Relational Mapping
Illegal attempt to associate a collection with two open s essions
Maneesh Chauahn
Ranch Hand
Posts: 48
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi All,
I am facing the Illegal attempt to associate a collection with two open
sessions. How can i make sure that first session get closed before hibernating making the second session.
Thanks in advance for your prompt answer
Maneesh Chauhan
Mark Spritzler
ranger
Posts: 17346
11
I like...
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Well you can call session.close() on the first session.
Actually, can we see the code for the two sessions?
Thanks
Mark
Perfect World Programming, LLC
-
iOS Apps
How to Ask Questions the Smart Way FAQ
pie. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
After delete I get: Illegal attempt to associate a collection with two open sessions
Illegal attempt to associate a collection with two open sessions
Usual problems managing Hibernate sessions... PLEASE HELP?
HELP !!! Illegal use of List across sessions exception
Could not load com.mysql.jdbc.SQLError
More...