I created a composite key using @IdClass that I want to specify that those fields make the unique key fo the record. However, I also want to add an auto-generating id (sequence generator). Is it possible to have the auto-incrementing id separate from the composite key? I used @Id for both in my entity and it's complaing id (sequence auto-gen) is not part of the composite key. Is it okay to define in composite key then but not use it for finding and matching records that is inclusive of that id?