In Hibernate and JPA, I'm used to looking at scenarios where I map a single table to a single entity, along with relationships to other entities with various multiplicities.
I'm now looking at a situation where I'm going to need to develop a JPA mapping for a pretty large collection of entities, where the largest entities actually are defined by an aggregation of numerous tables (like 20). What provisions are there in JPA and OpenJPA for mapping multiple tables to a single entity? I'm not talking about an inheritance hierarchy, but where the numerous tables are linked by a common PK value.
