this is my application.dev.properties
spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto=create
datasource.dev.url=jdbc:mysql://localhost:3306/schema?autoReconnect=true&useSSL=false&createDatabaseIfNotExist=true
datasource.dev.username=gdpr_root
datasource.dev.password=computer@1234
datasource.dev.driverClassName=com.mysql.jdbc.Drive
This is for common application.properties
props.hb.hibernate.default_batch_fetch_size=1000
props.hb.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
props.hb.hibernate.temp.use_jdbc_metadata_defaults=false
spring.jpa.generate-ddl=true
spring.jpa.hibernate.ddl-auto=create
I have tried to add spring.jpa.hibernate.ddl-auto=create
on both properties files.
but not creating the table structure.
i have followed below stack links
Unable to get spring boot to automatically create database schema
Auto creating tables failed in Spring JPA
expecting a better solution for my issue. Edit 1 schema will create but tables not created yet