cloud-dirigible
cloud-dirigible copied to clipboard
Auto-generated JS services are not aware of column default values
Auto-generated JS services (on entities) automatically generate and set date/time values for date/type fields, without checking if the columns already have a default value.
Example: [example.jslib] statement.setDate(++i, new java.sql.Date(.......));
While: [example.table] { "name":"EXAMPLE", "type":"DATE", "length":"0", "notNull":"true", "primaryKey":"false", "defaultValue":"CURRENT_DATE" }