Hi everyone,
I am using hibernate 2.x and could not get more detailed information on the docs for "timestamp" element. At Hibernate 3.x it has a attribute as "source" and we can say that value could be as "db", however at hibernate 2.x there is not any attribute like that.
If I put a mapping like :
Code:
<timestamp name="insertedTime" column="inserted"></timestamp>
what would I see at the table. A db time or JVM's time?here is the timestamp reference doc
Code:
<timestamp
column="timestamp_column" (1)
name="propertyName" (2)
access="field|property|ClassName" (3)
unsaved-value="null|undefined" (4)
/>
also if I could not solve that problem how can I solve with triggers in hibernate 2.x, As I know there is not any attribute "generated" at 2.x
Regards,