Skip to content

Commit

Permalink
upgrade mysql connector 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jaroldwong committed Dec 18, 2023
1 parent a8675b2 commit 1aea46d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ dependencies {
compile("org.javers:javers-core:2.4.1")
compile("javax.xml.bind:jaxb-api:2.3.1")
compile("com.amazonaws:aws-java-sdk-s3:1.12.187")
runtime("mysql:mysql-connector-java:5.1.47")
runtime("mysql:mysql-connector-java:8.0.33")
runtime("javax.annotation:javax.annotation-api:1.3.2")
testCompile("junit:junit")
testCompile("com.h2database:h2:1.4.199")
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
spring.datasource.url=${IPA_DATASOURCE_URL}
spring.datasource.username=${IPA_DATASOURCE_USERNAME}
spring.datasource.password=${IPA_DATASOURCE_PASSWORD}
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.hikari.maximum-pool-size=20
spring.datasource.hikari.minimum-idle=${IPA_DATASOURCE_POOL_MIN}
spring.datasource.hikari.connection-test-query=SELECT 1
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.properties.example
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
spring.datasource.url=jdbc:mysql://localhost:3306/IPA
spring.datasource.username=root
spring.datasource.password=
spring.datasource.driver-class-name=com.mysql.jdbc.Driver
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver

# Avoid Spring Boot's opinions on column naming (ignores @Column(name="") for lovely_camel_case_names)
spring.jpa.hibernate.naming-strategy=org.hibernate.cfg.DefaultNamingStrategy
Expand Down

0 comments on commit 1aea46d

Please sign in to comment.