1 Reply Latest reply on Mar 28, 2006 2:01 AM by wargun02

    EJB3 @Column(primaryKey = true) problem

    reinerka

      Hi,

      I'm trying to do some work with EJB3 defining a composite primary key for an Entity Bean.

      JBossIDE gives me an error on the following statement:

      @Column(name = "xxx", primaryKey = true, nullable = false, updateable = false, insertable = false)

      stating the following for this statement:

      "The attribute primaryKey is undefined for the annotation type Column"

      Maybe I missed something in the evolving specification. But isn't primaryKey supposed to define the elements of the primary Key?

      Thanks,
      Reiner