Hello
I use version 3.1 of hibernate with a base data DB2 version 7.x
To resolve a problems of "optimistic lock", I use the attribute timestamp on the mapping hibernate for my business objects:
< timestamp name="timestamp" column="DATLIG" unsaved-value="null" />
the problem is that hibernate does not save this column ! when I create a bo and I save it, I find a null value in data base , whereas normally I expects to find the current date value for the timestamp.
Does somebody encountered the same problem as me ? it is a problem of configuration ? of compatibility with DB2 ?
Thank you in advance for your assistance
Regards
Y.G
|