Hello,
I'm using
Hibernate 2.1.1
MySQL 4.0.15
XDoclet
.
I want to have the version of a record in the database
and the automatic timestamp. If I try
Code:
<hibernate-mapping>
<class...
<version
name="versionInDB"
type="java.lang.Long"
column="versionInDB"
/>
<timestamp
name="lastUpdate"
column="lastUpdate"
/>
<property...
I get the following exception:
[code]
[schemaexport] - Error parsing XML: /home/ollin/eclipse_workspaces/gpl_workspace/DokuStelle/DokuStelleWeb/WEB-INF/classes/org/dokustelle/model/work/Hauptstudienrichtung.hbm.xml(29) In Element "class" ist hier "timestamp" nicht zul