I
I
Ilya2020-06-30 13:56:55
Java
Ilya, 2020-06-30 13:56:55

Does it make sense to call clear() immediately after opening the session?

Does it make sense right after
Session session = sessionFactory.openSession();
calling
session.clear()

or defaulting to a new session is not necessary.

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