JPA_‘Basic' attribute type should not be a container怎么解决

前言:

今天在写Spring Data JPA 的时候遇到了这样一个问题
JPA_‘Basic' attribute type should not be a container怎么解决_第1张图片

解决办法:

只要添加了表之间的关联关系就不会报错了

JPA_‘Basic' attribute type should not be a container怎么解决_第2张图片
谢谢阅读

你可能感兴趣的:(Spring,Boot,学习随笔,not,be,a,contai,Basic,attribute,type,should,no,not,becontainer)