Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using library without code generator #8081

Closed
raderio opened this issue Dec 2, 2018 · 2 comments
Closed

Using library without code generator #8081

raderio opened this issue Dec 2, 2018 · 2 comments

Comments

@raderio
Copy link

raderio commented Dec 2, 2018

We want to use library but without code generator, so we will write classes by hand, is somewhere described how these classes should be? We need more documentation about theses classes.
Thanks.

@lukaseder
Copy link
Member

Thanks for your message. You can create identifiers for your objects using DSL.name():
https://www.jooq.org/doc/latest/manual/sql-building/names

... and then wrap them as Field or Table manually using DSL.field() or DSL.table(). An alternative is to use the plain SQL templating API:
https://www.jooq.org/doc/latest/manual/sql-building/plain-sql-templating

Hope this helps

@lukaseder
Copy link
Member

For the record, there is also a pending feature request to make the internal APIs available to users to allow for manually constructing the generated meta model without relying on internals: #7444

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants