0 Replies Latest reply on Apr 29, 2009 10:59 PM by freakwave10

    SEAM Gen reverse engineer primary key problem

    freakwave10

      Hi all,


      I am trying to rev. engineer a simple view in a SQL Server 2005.


      Here is my section for the seam-gen.reveng.xml


      <table-filter match-name="ClientConferenceStatus"
      match-catalog="MXAutomation">
      </table-filter>
      <table name="ClientConferenceStatus">
      <primary-key>
           <key-column name="ConferenceRef"/>
      </primary-key>
      </table>



      The table-filter works as expected, but the primary key of the table is never considered.
      The output always produces:


      WARNING: Rev.eng. strategy did not report any primary key columns for ClientConferenceStatus


      The result is that I end up with a composite primary key that contains all the columns of the view.


      Thanks a lot for your help,


      Wolfgang