title: JPA @ManyToOne map multiple fields pointing the same column
body: <p>I need to map two fields from an entity (in this example, the entity <em>Colectivo</em>), that reference the same column on the related entity <em>TipoDominio</em>.
  Is it possible?</p>
  
  <p>Colectivo.java</p>
  
  <pre><code>@ManyToOne(fetch = FetchType.LAZY)
  @JoinColumns({@JoinColumn(name = "TDM_TAC", referencedColumnName = "IDETDM")})
  private TiposDominioMantenimiento tdmTac;
  
  @ManyToOne(fetch = FetchType.LAZY)
  @JoinColumns({@JoinColumn(name = "TDN_ECO", referencedColumnName = "IDETDM")}) 
  private TiposDominioMantenimiento tdnEco; 
  </code></pre>
  
  <p>TipoDominio.java</p>
  
  <pre><code>@Id
  @Column(name="IDETDM")
  private BigDecimal ideTdm;
  </code></pre>
  
  <p>If not, how can I specify this?
  Thanks a lot :)</p>