teratail header banner
teratail header banner
質問するログイン新規登録

質問編集履歴

2

メッセージ追加

2020/03/11 13:51

投稿

encho
encho

スコア182

title CHANGED
File without changes
body CHANGED
@@ -9,6 +9,9 @@
9
9
  @Transactionalをつけるという対処も見つけましたが、
10
10
  どのクラスに@Transactionalをつけるべきなのでしょうか?
11
11
 
12
+ いまだ問題が解決していません。
13
+ 何か情報をいただけると幸いです。
14
+
12
15
  ```error
13
16
  2020-03-11 16:10:22.774 ERROR 6491 --- [nio-8080-exec-7] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: tutors.domain.model.User.subjects, could not initialize proxy - no Session] with root cause
14
17
 

1

情報の追加

2020/03/11 13:51

投稿

encho
encho

スコア182

title CHANGED
File without changes
body CHANGED
@@ -6,6 +6,9 @@
6
6
  どのように対応するのが適切かわかっていません。
7
7
  どなたかお分かりの方ご教示いただけると幸いです。
8
8
 
9
+ @Transactionalをつけるという対処も見つけましたが、
10
+ どのクラスに@Transactionalをつけるべきなのでしょうか?
11
+
9
12
  ```error
10
13
  2020-03-11 16:10:22.774 ERROR 6491 --- [nio-8080-exec-7] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: tutors.domain.model.User.subjects, could not initialize proxy - no Session] with root cause
11
14