I
I
Ilya2020-06-30 13:01:01
Java
Ilya, 2020-06-30 13:01:01

Is it correct to call getCurrentSession in a multi-threaded environment?

HIBERNATE

Is it possible to use getCurrentSession() to create a session per transaction in a multi-threaded environment.
those. Can two threads call getCurrentSession() at once and execute transactions?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question