You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
lukaseder
changed the title
Add Query[] DSLContext.ddl(Schema), ddl(Table) and others to re-generate known artefacts
Add Queries DSLContext.ddl(Schema), ddl(Table) and others to re-generate known artefacts
Feb 4, 2016
@lukaseder could you tell how to make generator reflect auto_incremented field? 3.9.1 does not do it for mysql table CREATE TABLE test ( id BIGINT(20) PRIMARY KEY NOT NULL AUTO_INCREMENT )
When I call jooq.ddl(TEST) it does not put AUTO_INCREMENTED clause as this is not included in the generated code.
@oleg-smith: Unfortunately, this currently isn't possible in jOOQ 3.9 due to a lack of meta data information in the generated model. It will be part of jOOQ 3.10:
Given all the known meta information jOOQ has from the code generator, test databases could be generated using
See also:
http://stackoverflow.com/q/22729855/521799
The text was updated successfully, but these errors were encountered: