0 Replies Latest reply on Jul 11, 2005 3:56 AM by swizard

    @Table, @Inheritance annotation conflict

    swizard

      I use tutorial sample pet-cat-dog to test @Table, @Inheritance together
      it doesn't work.
      jboss silently ignore @Table annotation

      I know @Table, @Inheritance work nice separately
      but I need two annotation work together
      is it bug? or is there any way to create named with TD_PET ?
      here is my sample code

      @Entity
      @Table(name = "TD_PET")
      @Inheritance(strategy = InheritanceType.TABLE_PER_CLASS)
      public class Pet implements java.io.Serializable
      {
      }
      

      thx in advance