0 Replies Latest reply on Jun 28, 2005 1:12 PM by Emmanuel Bernard

    Referential Integrity with different  column names

    Emmanuel Bernard Master

       

      "keeyes" wrote:
      Table B Entity (owner)
      @ManyToOne
      @JoinColumn(name="ColumnB")
      public TableA getTableA() {
      return tableA;
      }



      Table A Entity
      @OneToMany(mappedBy="tableA")
      public Collection<TableB> getTableB()
      {