A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Object Relational Mapping
Hibernate session single threaded -> multi threaded
Joined: Apr 08, 2004
Sep 21, 2009 19:25:26
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
Joined: Aug 26, 2006
Sep 21, 2009 20:17:39
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
, the single thread model makes the most sense.
I agree. Here's the link:
subject: Hibernate session single threaded -> multi threaded
Is Servlets by default a single threaded model or multi threaded model
is MDB Muti-threaded
JMS Session single threaded -> multi threaded
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014