cloud-dirigible icon indicating copy to clipboard operation
cloud-dirigible copied to clipboard

Auto-generated JS services are not aware of column default values

Open ssapunkova opened this issue 11 years ago • 0 comments

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" }

ssapunkova avatar Jun 12 '14 15:06 ssapunkova