几天前我问了这个问题,但我认为我的问题措辞错误。有没有办法:
var item = session.get<Item>(id)
item.accpt_date = current_timestamp //db current timestamp
session.merge(item)
我不能在更新/插入触发器上使用,因为 accpt_date 仅在某些事件发生时才会填充。
谢谢
几天前我问了这个问题,但我认为我的问题措辞错误。有没有办法:
var item = session.get<Item>(id)
item.accpt_date = current_timestamp //db current timestamp
session.merge(item)
我不能在更新/插入触发器上使用,因为 accpt_date 仅在某些事件发生时才会填充。
谢谢