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

Generate view source code with generated views #9805

Closed
14 tasks done
lukaseder opened this issue Feb 6, 2020 · 0 comments
Closed
14 tasks done

Generate view source code with generated views #9805

lukaseder opened this issue Feb 6, 2020 · 0 comments

Comments

@lukaseder
Copy link
Member

lukaseder commented Feb 6, 2020

Generated code should include the source code of views now that we have API for this content via TableOptions (#9799). In a first step, the source code will be in string form, as plain SQL. If we can parse it, we'll make a parse call.

Since there may be compilation or parser errors when such source code is being generated, we have to introduce this feature with a new guard flag: <sourcesOnViews/> in configuration/generator/generate/sourcesOnViews.

The sources will be made available through jOOQ-meta API via Definition.getSource() (see #9816)

Dialects for which this will be supported:

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

1 participant