title: How to define schema name in @MappedEntity annotation for r2dbc
body: <p>I have kotlin &amp; Micronaut application connecting to postgresql using <code>r2dbc</code> for reactive approach</p>
  <pre><code>r2dbc:
    datasources:
      default:
        schema-generate: NONE
        dialect: POSTGRES
        url: r2dbc:postgresql://localhost:5434/mydb
        username: postgres
        password: postgres
  </code></pre>
  <p>I have the table called Customer inside database <code>mydb</code> and schema <code>myschema</code>, but while using the <a href="https://micronaut-projects.github.io/micronaut-data/2.2.1/api/io/micronaut/data/annotation/MappedEntity.html" rel="nofollow noreferrer">@MappedEntity</a> we can only define the table name. Since table is inside of <code>myschema</code> the application is throws entity does not exist</p>
  <blockquote>
  <p>15:26:15.455 [reactor-tcp-nio-1] ERROR i.m.h.n.stream.HttpStreamsHandler - Error occurred writing stream response: relation &quot;customer&quot; does not exist
  io.r2dbc.postgresql.ExceptionFactory$PostgresqlBadGrammarException: relation &quot;customer&quot; does not exist</p>
  </blockquote>
  <p>how to define schema name in <code>MappedEntity</code> annotation ?</p>