0 Replies Latest reply on Nov 28, 2006 11:51 AM by lara

    Seam + Hibernate

    lara

      I am migrating some code from hibernate2 to hibernate3 and I encountered the following while adding annotation to an entity bean:

      I have two fields:

      @hibernate.column name = "EXT_ID" unique-key = "SECURED_OBJECTS_EXT_ID_TYPE_CODE_IDX"
      
      @hibernate.column name = "TYPE_CODE" unique-key = "SECURED_OBJECTS_EXT_ID_TYPE_CODE_IDX"
      


      I noticed that both fields have the same unique-key, what does this stands for and how do I represent the unique-key in hibernate3?

      Thanks in advance,
      Regards