java.lang.ClassCastException: org.hibernate.type.StringType cannot be cast to org.hibernate.type.VersionType
Solution
<version name="version" type="string">version>
I rename version in property and i also rename the field of my table.
In file.hbm.xml :
<property name="arteVersion" type="string">
property>
property>
In Mysql : alter table t_dependency CHANGE version dep_version VARCHAR(150);
Thanks. It helped me.
ReplyDelete