0 Replies Latest reply on Jul 1, 2010 8:47 AM by Aliaksandr Mikhailau

    Seam-gen: two foreing keys to one table

    Aliaksandr Mikhailau Newbie
      I have a table 'Response' where two fields ('operation' and 'operation_parent') refer to one table 'Operation'.

      After "seam generate" command execution I have "ResponseList.xhml" view where I can add "Response". But when I select 'operation' for "Response" the 'operation_parent' automatically assign the selected value too.

      Can I change this behavior? I want to have ability to assign different values to 'operation' and 'operation_parent' columns.