Skip to content

Commit b2950b5

Browse files
committed
Add deprecated metadata for datasource initialization
See gh-10076
1 parent b574e5c commit b2950b5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Diff for: spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json

+18
Original file line numberDiff line numberDiff line change
@@ -800,6 +800,15 @@
800800
"level": "error"
801801
}
802802
},
803+
{
804+
"name": "spring.batch.initializer.enabled",
805+
"type": "java.lang.Boolean",
806+
"description": "Create the required batch tables on startup if necessary. Enabled automatically\n if no custom table prefix is set or if a custom schema is configured.",
807+
"deprecation": {
808+
"replacement": "spring.batch.initialize-schema",
809+
"level": "error"
810+
}
811+
},
803812
{
804813
"name" : "spring.http.multipart.enabled",
805814
"type" : "java.lang.Boolean",
@@ -866,6 +875,15 @@
866875
"reason": "Auto-configuration for Hibernate 4 is no longer provided.",
867876
"level": "error"
868877
}
878+
},
879+
{
880+
"name": "spring.session.jdbc.initializer.enabled",
881+
"type": "java.lang.Boolean",
882+
"description": "Create the required session tables on startup if necessary. Enabled\n automatically if the default table name is set or a custom schema is\n configured.",
883+
"deprecation": {
884+
"replacement": "spring.session.jdbc.initialize-schema",
885+
"level": "error"
886+
}
869887
}
870888
],"hints": [
871889
{

0 commit comments

Comments
 (0)