I'm trying to use the OpenJPA 2.0 Criteria Query API. I've read through the OpenJPA User's Guide, but there's one subject that I have not found mentioned anywhere. It's how to use a field in a primary key that is an object. For instance: