Hi All,

 

I know I could manually add:

 

<version name=”someName” column=”some_column”/>

 

just after the id tag in an hbm.xml file.  But, I generate these files using Middlegen, so they are overwritten each time we run Middlegen.

 

I haven’t seen a way to tell Middlegen that a certain column is a version or timestamp.  I’m dealing with three config files –

 

    1 Model-prefs.properties <- specifics of each table-object mapping

 

    2 Middlegen-build.xml  <- Ant

 

    3 One hbm.xml file per class <- automatically generated by Middlegen, so manual editing doesn’t work

 

Does someone have an example config file that shows how to get Middlegen to generate a version/timestamp?

 

Thanks,

Vick

 

 

 

 

Reply via email to