title: Save data with entity manager in multiple schemas
body: <p>I'm working in a project where I have to save the same information in different schemas  </p>
  
  <p>As example I have this entity</p>
  
  <pre><code>@Entity
  @NamedQuery(name = "Cliente.findAll", query = "SELECT c FROM Cliente c")
  public class Cliente implements Serializable {
  private static final long serialVersionUID = 1L;
  
  @Id
  @SequenceGenerator(name = "CLIENTE_CLICODIGO_GENERATOR", sequenceName = "CLIENTE_CLI_CODIGO_SEQ", allocationSize = 1)
  @GeneratedValue(strategy = GenerationType.SEQUENCE, generator = "CLIENTE_CLICODIGO_GENERATOR")
  @Column(name = "cli_codigo")
  private Integer cliCodigo;
  
  @Column(name = "cli_activo", columnDefinition = "bool default true")
  private Boolean cliActivo = true;
  </code></pre>
  
  <p>And the way to save the data is:</p>
  
  <pre><code>@PersistenceContext
  EntityManager entityManager;
  
  public void guardarCliente(Cliente clienteSeleccionado) throws Exception {
      if (clienteSeleccionado.getCliCodigo() == null) {
          entityManager.persist(clienteSeleccionado);
      } else {
          entityManager.merge(clienteSeleccionado);
      }
  
  }
  </code></pre>
  
  <p>At the moment it works and save in my public schema however I don't know how to save in different schema in the same database.</p>
  
  <p>I was thinking in duplicate entity but when I try it, errors appears</p>