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:
Campbell Ritchie
Tim Cooke
Ron McLeod
paul wheaton
Jeanne Boyarsky
Sheriffs:
Paul Clapham
Devaka Cooray
Saloon Keepers:
Tim Holloway
Roland Mueller
Himai Minh
Bartenders:
Forum:
Object Relational Mapping
Illegal attempt to associate a collection with two open s essions
Maneesh Chauahn
Ranch Hand
Posts: 48
posted 18 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: 17347
11
I like...
posted 18 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
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
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...