在这个测试项目中,我第一次尝试使用hibernate实现来设置JPA。: @OneToOne or @ManyToOne on entities.Question.examId references an unknown entity: longat org.hibernate.ejb.EntityManagerFactoryImpl.Serializable{
@GeneratedValu
orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is org.hibernate.AnnotationException: @Column(s) not allowed on a @ManyToOne property: com.easythings.battleship.model.Game.board
SecurityConfig
我有一个Hibernate实体,它的getter被映射为@OneToMany:class Parent extends BaseParent {
from Parent p where c.name='foobar'org.springframework.orm.hibernate3HibernateQueryException: could not resolve property: