LazyInitializationException when using ElementCollection in Play framework

前端 未结 4 920
粉色の甜心
粉色の甜心 2021-01-18 16:03

I have an User entity in my applications set of models that is defined as follows:

public class User extends Model {

    private String name;

    private b         


        
4条回答
  •  太阳男子
    2021-01-18 16:32

    User transaction on class level

    @Component

    @Transactional

    public class className

提交回复
热议问题