title: Java Spring Data specifying schema
body: <p>Hi I have an entity which maps from view in particular schema.
  Class definition: </p>
  
  <pre><code>@Entity
  @Table(name = "VIEW_NAME", schema = "MY_SCHEMA")
  public class MyEntity implements Serializable {
  }
  </code></pre>
  
  <p>If I specify schema right on my MyEntity class everything woks it fetches records from database, but i wan't it to be more flexible and configurable from properties. I tried adding property to my properties file:          <code>spring.datasource.jpa.properties.hibernate.default_schema: MY_SCHEMA</code></p>
  
  <p>It doesn't work when i try to fetch i get an exception: </p>
  
  <blockquote>
    <p>java.sql.SQLSyntaxErrorException: ORA-00942: table or view does not
    exist</p>
  </blockquote>
  
  <p>Did i used wrong property ? Is there another way to change schema dynamically on entity ?</p>