JPA query many to one association

Posted by Random Joe on Stack Overflow See other posts from Stack Overflow or by Random Joe
Published on 2010-04-11T18:53:48Z Indexed on 2010/04/11 22:13 UTC
Read the original article Hit count: 226

Filed under:
|
|
|
|

I want to build the following pseudo query

Select a From APDU a where a.group.id= :id

group is a field in APDU class of the type APDUGroup.class.

I just want to get a list of APDUs based on APDUGroup's id.

How do i do that using a standard JPA query?

© Stack Overflow or respective owner

Related posts about jpa

Related posts about query