GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: update sql initialisation properties (#8780) · thehands79/java-docs-samples@2ae640b

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • run/idp-sql
    • pom.xml
    • src
      • main/resources
        • application.properties
      • test/resources
        • application.properties
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎run/idp-sql/pom.xml‎

Copy file name to clipboardExpand all lines: run/idp-sql/pom.xml
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ limitations under the License.
3030
</parent>
3131

3232
<properties>
33-
<maven.compiler.target>17</maven.compiler.target>
34-
<maven.compiler.source>17</maven.compiler.source>
33+
<maven.compiler.target>1.8</maven.compiler.target>
34+
<maven.compiler.source>1.8</maven.compiler.source>
3535
</properties>
3636

3737
<dependencyManagement>
@@ -40,14 +40,14 @@ limitations under the License.
4040
<!-- Import dependency management from Spring Boot -->
4141
<groupId>org.springframework.boot</groupId>
4242
<artifactId>spring-boot-dependencies</artifactId>
43-
<version>3.1.5</version>
43+
<version>2.7.17</version>
4444
<type>pom</type>
4545
<scope>import</scope>
4646
</dependency>
4747
<dependency>
4848
<groupId>com.google.cloud</groupId>
4949
<artifactId>spring-cloud-gcp-dependencies</artifactId>
50-
<version>4.7.1</version>
50+
<version>3.7.2</version>
5151
<type>pom</type>
5252
<scope>import</scope>
5353
</dependency>
Collapse file

‎run/idp-sql/src/main/resources/application.properties‎

Copy file name to clipboardExpand all lines: run/idp-sql/src/main/resources/application.properties
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ server.port=${PORT:8080}
2424
# [END cloudrun_user_auth_sql_connect]
2525

2626
# Create PostgreSQL table on startup
27-
spring.datasource.initialization-mode=always
27+
spring.sql.init.mode=always
2828
# Override "table already exists" error
29-
spring.datasource.continue-on-error=true
29+
spring.sql.init.continue-on-error=true
3030

Collapse file

‎run/idp-sql/src/test/resources/application.properties‎

Copy file name to clipboardExpand all lines: run/idp-sql/src/test/resources/application.properties
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ spring.cloud.gcp.sql.database-name=${PG_DB}
1818
spring.cloud.gcp.sql.instance-connection-name=${PG_CONNECTION_NAME}
1919

2020
# Create PostgreSQL table on startup
21-
spring.datasource.initialization-mode=always
21+
spring.sql.init.mode=always
2222
# Override "table already exists" error
23-
spring.datasource.continue-on-error=true
23+
spring.sql.init.continue-on-error=true
2424

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.