mysql's current_timestamp for java derby
In MySQL I can easily set the default value of a timestamp field to be the current time
fieldname timestamp not null default current_timesta开发者_如何学运维mp
Does anyone know how to do the same thing in java derby?
This should work fieldname TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP
精彩评论