7.4.12

Spring + JPA, org.hibernate.SessionException: Session is closed

This exception is mostly caused because of you are out of transactional context. To solve this simply add @Transactional annotation to your method. Look example below;

Hiç yorum yok:

Yorum Gönder