1 Reply Latest reply on May 2, 2007 4:22 PM by christian.bauer

    Table mapping

    vwvbc

      I am very new to Seam. Here is my first question in regarding of the annotation "Entity".
      In a situation where I only need to map a Java class into a portion of a table, but not the entire table, how it can be done?

        • 1. Re: Table mapping
          christian.bauer

          I'm guessing that you mean "I don't want to map certain properties of my class". Just put @Transient on these fields (or getter methods, depending where you put @Id).

          I recommend you get the basic JPA tutorial in the free chapter 2 of the book I advertise in my signature.