| Author |
Hibernate session single threaded -> multi threaded
|
kri shan
Ranch Hand
Joined: Apr 08, 2004
Posts: 1300
|
|
|
Why Hiberante session is default thread-safe(single threaded) ? Is there a way to convert to multi threaded ?
|
 |
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Joined: Aug 26, 2006
Posts: 4967
|
|
When you deploy to a JEE5 container, you can simply switch to use the native transaction management system on that server. But for developing and testing, the single thread model makes the most sense.
-Cameron McKenzie
|
Author of Hibernate Made Easy, What is WebSphere???, JSF 2.0 Made Easy and the SCJA Certification Guides
|
 |
 |
|
|
subject: Hibernate session single threaded -> multi threaded
|
|
|