Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions java/micronaut-jsonview-demo-app/build.gradle
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
plugins {
id "com.github.johnrengelman.shadow" version "8.1.1"
id "io.micronaut.application" version "4.0.2"
id "io.micronaut.test-resources" version "4.0.2"
id "io.micronaut.application" version "4.4.0"
id "io.micronaut.test-resources" version "4.4.0"
}

version = "0.1"
Expand Down
2 changes: 1 addition & 1 deletion java/micronaut-jsonview-demo-app/gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
micronautVersion=4.0.5
micronautVersion=4.5.0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.1.1-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.7-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ datasources:
test-resources:
containers:
oracle:
image-name: gvenzl/oracle-free:latest
startup-timeout: 360s
db-name: test
flyway:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

CREATE OR REPLACE JSON RELATIONAL DUALITY VIEW "STUDENT_SCHEDULE" AS -- <1>
SELECT JSON{
'studentId': s."ID", -- <2>
'_id': s."ID", -- <2>
'student': s."NAME" WITH UPDATE, -- <3>
'averageGrade': s."AVERAGE_GRADE" WITH UPDATE,
'schedule': [SELECT JSON{'id': sc."ID", -- <4>
Expand Down