Hello,

I noticed something probably not correct:

When you execute the following:

DBCommand cmd = db.createCommand();
cmd.set(db.tab.col.to(""));

You get the SQL below

INSERT INTO tab (col) VALUES (null);

whereas it is expected

INSERT INTO tab (col) VALUES ("");

In the table defintion there is:
col = addColumn("col", DataType.TEXT, 80, true);

Could you please advise why  you get "null" instead of empty "" ?

Regards,
exxos.

Reply via email to