hibernate @JoinColumnsOrFormulas throws Formula无法转换为Column异常

时间:2011-11-17 04:21:36

标签: hibernate annotations

根据https://hibernate.onjira.com/browse/HHH-4382

,我看到自3.5.1以来启用了JoinColumnsOrFormulas
 <dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-entitymanager</artifactId>
<version>3.5.1-Final</version>
 </dependency>

 <dependency>
<groupId>org.hibernate</groupId>
<artifactId>hibernate-commons-annotations</artifactId>
<version>3.2.0.Final</version>
 </dependency>

抛出一个org.hibernate.mapping.Formula无法强制转换为org.hibernate.mapping.Column,哪个版本的hibernate和jar组合支持JoinColumnsOrFormulas?

0 个答案:

没有答案