Here is likely the affending line of code for you in 2.1.3...
Code:
if (script) System.out.println(sql);
if(doUpdate) {
log.debug(sql);
stmt.executeUpdate(sql);
}
that is from the execute method of SchemaUpdate class. You might want to debug to that point and findout why its not updating. You are running the schemaexport task correct? If so try executing it again with the property text="false", I told you to try text="no" but that may not have been interpreted as a boolean properly.
Try this as your task:
Code:
<target name="schemaupdate"
depends="compile"
description="Schema Update to the DB server directly.">
<schemaupdate
properties="hibernate.properties"
quiet="false" text="false">
<fileset dir="${classes}">
<include name="**/*.hbm.xml"/>
</fileset>
</schemaupdate>
</target>
You may also consider updating to hib 2.1.4.. I don't know what DB your running but they put in some good fixes for the mysql dialect in 2.1.4 that weren't present in any of the previous builds.
-David