我试图从存储过程中获取多个结果到Spring端,但不知何故得到了这个错误: at org.hibernate.engine.jdbc.spi.SqlExceptionHelper.convert(SqlExceptionHelper.java:111)at org.hibernate.result.internal.OutputsImpl.convert(OutputsImpl.java
我收到错误:org.hibernate.AnnotationException: @OneToOne or @ManyToOne on xxx.yyy.zz.myentity.xxx_id references我这样做是因为我不想在我的实体中保存一个对象,而只想要它的键( AnotherEntity中的键类型是UUID)。我发现这个错误是由于对象没有用@Entity注解注解引起的。是真的吗?