Interestingly the code already seems to do that. Not sure how you got it to output that combination. Anyway, I went ahead and added a specific test of DB2Dialect rendering the table creation just to be sure that the not null is added.