In my application i am using below property
spring.jpa.properties.hibernate.hbm2ddl.auto= validate
so does it validates schema like if manually i added one new column in my oracle table and not added this column in java entity .
so in this case will it give error on project startup ?
No, it's perfectly alright to have columns in a table that aren't mapped. An error would be a missing column or table that's mapped to an entity. Your database doesn't need to be identical to your mappings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With