Skip to content

Commit 5e64390

Browse files
renovate[bot]cj848
andauthored
chore(deps): update dependency org.hibernate:hibernate-core to v7 (#871)
* chore(deps): update dependency org.hibernate:hibernate-core to v7 * fix: hibernate 5 * fix: hibernate-7 compatible --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Hyunsik Kang <cj848@hanmail.net>
1 parent 5c42e0f commit 5e64390

File tree

6 files changed

+7
-7
lines changed

6 files changed

+7
-7
lines changed

example/hibernate-reactive/src/main/resources/META-INF/persistence.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<property name="hibernate.hbm2ddl.import_files_sql_extractor" value="org.hibernate.tool.schema.internal.script.MultiLineSqlScriptExtractor" />
3838

3939
<!--suppress DeprecatedClassUsageInspection -->
40-
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL8Dialect"/>
40+
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
4141
<property name="hibernate.show_sql" value="true"/>
4242
<property name="hibernate.hbm2ddl.auto" value="none"/>
4343
<property name="hibernate.use_sql_comments" value="true"/>

example/hibernate/build.gradle.kts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ plugins {
77
}
88

99
dependencies {
10-
implementation(exampleLibs.hibernate6.core)
10+
implementation(exampleLibs.hibernate7.core)
1111
implementation(exampleLibs.logback)
1212
implementation(projects.example)
1313
implementation(projects.jpqlDsl)
@@ -16,7 +16,7 @@ dependencies {
1616

1717
runtimeOnly(exampleLibs.h2)
1818

19-
testFixturesImplementation(exampleLibs.hibernate6.core)
19+
testFixturesImplementation(exampleLibs.hibernate7.core)
2020
testFixturesImplementation(projects.jpqlRender)
2121
}
2222

example/hibernate/src/main/resources/META-INF/persistence.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<property name="hibernate.hbm2ddl.import_files_sql_extractor" value="org.hibernate.tool.schema.internal.script.MultiLineSqlScriptExtractor" />
3333

34-
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQL8Dialect"/>
34+
<property name="hibernate.dialect" value="org.hibernate.dialect.MySQLDialect"/>
3535
<property name="hibernate.show_sql" value="true"/>
3636
<property name="hibernate.format_sql" value="true"/>
3737
<property name="hibernate.hbm2ddl.auto" value="none"/>

example/spring-batch/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ spring.batch:
33
enabled: false
44

55
spring.jpa:
6-
database-platform: org.hibernate.dialect.MySQL8Dialect
6+
database-platform: org.hibernate.dialect.MySQLDialect
77
hibernate.ddl-auto: none
88

99
spring.datasource:

example/spring-data-jpa/src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
spring.jpa:
2-
database-platform: org.hibernate.dialect.MySQL8Dialect
2+
database-platform: org.hibernate.dialect.MySQLDialect
33
hibernate.ddl-auto: none
44

55
spring.datasource:

libs.example.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ spring-batch5-test = { module = "org.springframework.batch:spring-batch-test", v
2828

2929
# hibernate
3030
hibernate5-core = { module = "org.hibernate:hibernate-core", version = "5.6.15.Final" }
31-
hibernate6-core = { module = "org.hibernate:hibernate-core", version = "6.6.15.Final" }
31+
hibernate7-core = { module = "org.hibernate:hibernate-core", version = "7.0.0.Final" }
3232

3333
# hibernate-reactive
3434
hibernate-reactive1-core = { module = "org.hibernate.reactive:hibernate-reactive-core", version = "1.1.9.Final" }

0 commit comments

Comments
 (0)