From 737f621417cbdee883ac7472ccd1341f0d2c1f68 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Nicoll?= Date: Fri, 2 May 2025 14:45:00 +0200 Subject: [PATCH] Add missing suggested values for spring.jpa.hibernate.ddl-auto Closes gh-45336 --- ...itional-spring-configuration-metadata.json | 28 +++++++++++++------ 1 file changed, 20 insertions(+), 8 deletions(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json index 44832e50fcb..b97a83c2d9c 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json +++ b/spring-boot-project/spring-boot-autoconfigure/src/main/resources/META-INF/additional-spring-configuration-metadata.json @@ -3165,25 +3165,37 @@ { "name": "spring.jpa.hibernate.ddl-auto", "values": [ + { + "value": "create", + "description": "Create the schema and destroy previous data." + }, + { + "value": "create-drop", + "description": "Create and then destroy the schema at the end of the session." + }, + { + "value": "create-only", + "description": "Create the schema." + }, + { + "value": "drop", + "description": "Drop the schema." + }, { "value": "none", "description": "Disable DDL handling." }, { - "value": "validate", - "description": "Validate the schema, make no changes to the database." + "value": "truncate", + "description": "Truncate the tabless in the schema." }, { "value": "update", "description": "Update the schema if necessary." }, { - "value": "create", - "description": "Create the schema and destroy previous data." - }, - { - "value": "create-drop", - "description": "Create and then destroy the schema at the end of the session." + "value": "validate", + "description": "Validate the schema, make no changes to the database." } ] },