steve wrote:
You would need to map the column as essentially read-only (insert="false" update="false") and then use a trigger/default in the db to set the value.
What happens when that column is part of the primary key? I'm working with a legacy system in DB2, and I have that problem. The table has a composite ID with a Timestamp column being part of it. The problem is, you can set "insert=false" in a "property" but you can't do that in a "key-property", even when the INSERT can be done without setting the value for the Timestamp beacause it has a default value set. Thanks in advance for your help.