What JPA annotation in my XSD should be used to reference a compound key in a ta

What JPA annotation in my XSD should be used to reference a compound key in a table. I have a table that was previously created and the primary key consist of two columns.

OriginalPostID-203808

OriginalPostID-203808

  Discussion posts and replies are publicly visible