Jooq how to deal with mysql default?

时间:2017-08-05 11:50:07

标签: jooq

I'm trying to use a field with a default value but I have a problem with jooq, the default value is not used and the value of the object's field is still null.

How can I make JOOQ use the default value from my table ?

This is the SQL of my declaration :

`Status tinyint (1) DEFAULT 0`

0 个答案:

没有答案