Hi I'm working with a set of Entity classes that were generated from an existing database. Where a table in the database has a multiple column primary key, OpenJPA generated an entity class and an entityPK class. So, for example, for the table Ecu with a primary key of "modelID" and "EcuID" I end up with Ecu.java and EcuPK.java. EcuPK.java contains the getters & setters for the key fields and Ecu.java contains a reference to EcuPK and the rest of the data.
I've tried googling but I suspect I don't know the terminology well enough, so could someone explain/point me to an explanation as to how I write a JPQL to retrieve the populated entity for a specific EcuID. Thanks -- View this message in context: http://n2.nabble.com/-Newbie--Retrieving-via-Embedded-Identifiers-tp3092046p3092046.html Sent from the OpenJPA Users mailing list archive at Nabble.com.
