-
Notifications
You must be signed in to change notification settings - Fork 221
Generate json view create sql scripts #3632
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
Open
ZdravDimOracle
wants to merge
67
commits into
micronaut-projects:5.0.x
Choose a base branch
from
ZdravDimOracle:Dimitrije/json-view-sql
base: 5.0.x
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Generate json view create sql scripts #3632
ZdravDimOracle
wants to merge
67
commits into
micronaut-projects:5.0.x
from
ZdravDimOracle:Dimitrije/json-view-sql
+1,768
−324
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
radovanradic
reviewed
Dec 3, 2025
data-model/src/main/java/io/micronaut/data/model/PersistentEntity.java
Outdated
Show resolved
Hide resolved
radovanradic
reviewed
Dec 3, 2025
doc-examples/jdbc-example-java/src/main/java/example/ContactView.java
Outdated
Show resolved
Hide resolved
Contributor
|
There are checkstyle errors |
radovanradic
reviewed
Dec 3, 2025
data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java
Outdated
Show resolved
Hide resolved
graemerocher
requested changes
Dec 3, 2025
data-model/src/main/java/io/micronaut/data/annotation/JsonView.java
Outdated
Show resolved
Hide resolved
data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java
Outdated
Show resolved
Hide resolved
data-model/src/main/java/io/micronaut/data/model/PersistentEntity.java
Outdated
Show resolved
Hide resolved
….0-m12 (micronaut-projects#3630) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
…-projects#3631) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
data-model/src/main/java/io/micronaut/data/annotation/JsonSubView.java
Outdated
Show resolved
Hide resolved
data-model/src/main/java/io/micronaut/data/annotation/JsonView.java
Outdated
Show resolved
Hide resolved
data-jdbc/src/main/java/io/micronaut/data/jdbc/config/SchemaGenerator.java
Show resolved
Hide resolved
data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java
Show resolved
Hide resolved
data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java
Outdated
Show resolved
Hide resolved
data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java
Outdated
Show resolved
Hide resolved
data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java
Outdated
Show resolved
Hide resolved
data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java
Outdated
Show resolved
Hide resolved
data-model/src/main/java/io/micronaut/data/model/query/builder/sql/SqlQueryBuilder.java
Outdated
Show resolved
Hide resolved
andriy-dmytruk
approved these changes
Jan 21, 2026
graemerocher
approved these changes
Jan 26, 2026
data-processor/src/test/groovy/io/micronaut/data/processor/sql/JsonViewSpec.groovy
Show resolved
Hide resolved
…ut-data into Dimitrije/json-view-sql
…ut-data into Dimitrije/json-view-sql
…ut-data into Dimitrije/json-view-sql
…Oracle/micronaut-data into Dimitrije/json-view-sql
…Dimitrije/json-view-sql
4680c88 to
62ce39e
Compare
62ce39e to
b354834
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pr adds functionality of generating create SQL scripts for creating JSON duality views based on Java source files.
For every class annotated with
@JsonView, corresponding SQL for creating that view will be generated.Fixes #3599.