Joined: Tue Mar 27, 2007 12:19 pm Posts: 1
|
I was getting the same error using Hibernate 3.2.4.ga and Hibernate tools 3.2.0.beta9a using a legacy Sybase database that I could not change the name of the column. Since we are not using the “vrsion” feature in Hibernate, to get around the problem I commented out the following lines in persistentclass.hbm.ftl.
<#-- version has to be done explicitly since Annotation's does not list version first -->
<#--<#if pojo.hasVersionProperty()>
<#assign property=clazz.getVersion()/>
<#include "${c2h.getTag(property)}.hbm.ftl"/>
</#if>-->
|
|