0 Replies Latest reply on Jul 13, 2003 1:45 PM by pstrotmann

    How are multi-Component primary Kyes mapped?

    pstrotmann

      Hi all,

      I would like to work with a primary key consisting of 2 components, String and int.
      The best solution for me would be to handle it with 1 Key class, that is mapped to 2 columns, so that I could view it in a table editor like datastudio e.g.
      But Jboss seems to map it on 1 column with no displayable type (abyte).
      Is there a chance to map it on 2 columns of type String and int.
      I tried to use a DVC already with no success.

      greatings from Dortmund Germany
      peter