steve wrote:
Why is this not portable?
Because I would assume that you're suggesting execute a little sql with the connection, perhaps something like "select sysdate from dual".
I'm not sure but, I'm thinking that's not going to work so well on db's other then oracle.
By "a little more automated", i was hoping not to have to execute any sql manually.
steve wrote:
Exactly how is Hibernate supposed to know when a given row should be end-dated?
I don't expect it to know anything about when to end-date something; that's an application level semantic.
I was hoping that there was a way to have hibernate set a field to the current date, on-demand rather then all the time like <timestamp>.
I've only used end-dating as an example of once case where this kind of feature would solve.