Method 1: Add @Transactional annotation to the
method Method 2: Add @Proxy(lazy = false) to the xxxInfo class
解决 could not initialize proxy [com.xxx.xxx.xxx.entity.xxxInfo#1] - no Session
Guess you like
Origin blog.csdn.net/qq_45106437/article/details/112601399
Recommended
Ranking