Check out example codes for "get create sql of hibernqte entity". It will help you in understanding the concepts better.

Code Example 1

spring.jpa.properties.javax.persistence.schema-generation.create-source=metadata
spring.jpa.properties.javax.persistence.schema-generation.scripts.action=create
spring.jpa.properties.javax.persistence.schema-generation.scripts.create-target=create.sql

Learn ReactJs, React Native from akashmittal.com