[UIM] How Can I Write An Inner Join Query Or A Select In Select In JPA? (Doc ID 1611187.1)

Last updated on AUGUST 18, 2015

Applies to:

Oracle Communications Unified Inventory Management - Version 7.2.2 and later
Information in this document applies to any platform.

Goal

How to get Geographic Place filtered by specification and using JPQL?

How to translate the following SQL into JPQL?
"select name from geographicplace where geographicplace.specification in (select specification.entityid from specification where specification.name like '%MYGEO_PLACE%')"
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms