Foremost, I am a newbie to Spring. I am writing a Springboot application, wherein there are two different DBConfiguration classes. For each Configurations class, I want to have separate schemas. I know @Entity annotation's "schema" attribute would serve the purpose. But I want to mention the schemas only in application.properties file. Something like: "jpa.properties.hibernate.default_schema:", but separate schemas for multiple dbconfigurations.
Comments
Post a Comment