贴注解代码··怀疑你关联写错了,JPA里关联写的是数据库字段名·· @JoinColumn(name = "brand_id", referencedColumnName = "id") 这里name是本类( ...
確定! 回上一頁