Harish Bagora :
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 ?
Kayaman :
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.
Guess you like
Origin http://43.154.161.224:23101/article/api/json?id=328429&siteId=1