openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ritika Maheshwari (JIRA)" <j...@apache.org>
Subject [jira] Commented: (OPENJPA-168) sql optimize n rows query hint
Date Thu, 22 Mar 2007 16:19:32 GMT

    [ https://issues.apache.org/jira/browse/OPENJPA-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12483203
] 

Ritika Maheshwari commented on OPENJPA-168:
-------------------------------------------

In the singleResult method of the kernel QueryImpl when null was returned I threw an error
using localizer property "not-unique".But this error message does not correctly define the
error so in the localizer.properties I added another property as follows

not-unique: The query on candidate type "{0}" with filter "{1}" was \
	configured to have a unique result, but more than one instance matched \
	the query.
is-null: The query on candidate type "{0}" with filter "{1}" was \
	configured to have a unique result, but no instance matched \
	the query.

so the is-null error would be thrown for the null conditions.So I will apply this on top of
patch2



> sql optimize n rows query hint
> ------------------------------
>
>                 Key: OPENJPA-168
>                 URL: https://issues.apache.org/jira/browse/OPENJPA-168
>             Project: OpenJPA
>          Issue Type: New Feature
>            Reporter: David Wisneski
>         Assigned To: David Wisneski
>         Attachments: OPENJPA-168.patch.txt, OPENJPA-168.patch2.txt
>
>
> There werre various comments from Patrick, Abe and Kevin Sutter about the code that I
checked related to Optimize hint.  So I have gone back and relooked at this and wil be making
some changes.  At Kevin's suggestion I will do this through a JIRA feature so that folks will
have opportunity to comment on this before the code is actually done and checked in.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message