在JPA中定义ManyToOne的时候,指定JoinColumn的时候,回出现如下异常:
Invocation of init method failed; nested exception is org.hibernate.MappingException: Unable to find column with logical name xxxx in table xxxx
这其实是一个Hibernate-Annotation的bug,解决办法,升级到最新的3.3.1-GA版本就好了。
详细请看: http://opensource.atlassian.com/projects/hibernate/browse/ANN-509
Invocation of init method failed; nested exception is org.hibernate.MappingException: Unable to find column with logical name xxxx in table xxxx
这其实是一个Hibernate-Annotation的bug,解决办法,升级到最新的3.3.1-GA版本就好了。
详细请看: http://opensource.atlassian.com/projects/hibernate/browse/ANN-509