-
Sub-task
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
False
-
None
-
False
-
-
-
Sprint 214 AMM, Sprint 215 AMM, Sprint 217 AMM
Find spring.jpa.hibernate.ddl-auto=create-drop and replace with quarkus.hibernate-orm.database.generation=drop-and-create
Create a new rule in the springboot-properties-to-quarkus.windup.xml ruleset
Copy ruleid springboot-properties-to-quarkus-00003
When criteria
filecontent filename="application
.
{extension}" pattern="spring.jpa.hibernate.ddl-auto=create-drop"
Title: Replace Spring JPA Hibernate property
Category-id: mandatory
Effort: 1
Message: Replace `spring.jpa.hibernate.ddl-auto=create-drop` property with `quarkus.hibernate-orm.database.generation=drop-and-create`
Link: Quarkus Hibernate ORM and JPA Guide
Change the tests/data/springboot-properties/application.properties file to have this property setting
spring.jpa.hibernate.ddl-auto=create-drop