I have an entity with composite PK, so it has a @IdClass(FooPK.class) annotation to link it to the corresponding class.
@IdClass(FooPK.class)
I\'ve written a method to get an