History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-22627
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Gregory Shrago
Reporter: Simon Knott
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Hibernate named query not resolving joins

Created: 05 Oct 07 01:29   Updated: 06 Dec 07 18:50
Component/s: J2EE.Hibernate
Fix Version/s: Selena 7.0.2

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows XP, JDKU2

Build: 7,323
Fixed in build: 7,516
Severity: High


 Description  « Hide
The partyKey attribute is being marked as red in the following query with "can't resolve expression", despite the attribute existing in the mapping file and object. There are many instances in our named queries where the attributes of join-ed attributes are shown as unresolvable.

<query name="DispensingServiceAuditTrailDao.FIND_ORGANISATION_IIDS_BY_PARTY_KEY">
<![CDATA[
select org.iid from com.qxlva.nhs.mm.services.data.BOSDSOrganisation org
left join org.accreditedSystems accSys where accSys.partyKey in (:partyKeys)
]]>
</query>



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.