openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From llchen <>
Subject Re: JPA genereates non-exist id column in the select statement
Date Wed, 14 Jul 2010 17:36:53 GMT

I gave up the OneToMany attempt due to the secondary entity does not have an
Id field. I replaced it with direct JPQL to retrieve the related collection,
thought I have to explicitly list all the fields in the select statement,
otherwise the id field will be added into the SQL select statement as well.

Thanks for your suggestions.

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message