chemistry-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Florian Müller <f...@apache.org>
Subject Re: thread-safety of Session
Date Thu, 11 Sep 2014 15:14:03 GMT
Hi Mike,

Yes, the Session instance is tread-safe.


- Florian

> 
> A very quick question... Is the Session instance that gets returned by
> SessionFactoryImpl.newInstance().createSession() thread-safe? i.e. can I cache
> it and use the same instance to service multiple simultaneous requests?
> 
> Thanks!
> michael lucas  |  Senior Software Developer  |  Great-West Life
>

Mime
View raw message