jpa.generate-ddl and jpa.hibernate.ddl-auto can control whether datasource.schema script to initialize the database structure, as long as there is a ready state will be executed, such as jpa.generate-ddl: true or jpa. generate-ddl: update, and there is no restriction on the lower level of mutual relations.
In order not to perform, both must be non-executable state, such as false and none.
Reference article:
https://fookwood.com/hibernate-generate-ddl