[ https://issues.apache.org/jira/browse/OPENJPA-168?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12485307 ]
Ritika Maheshwari commented on OPENJPA-168: ------------------------------------------- Abe, I hope you realize that the expectedResultCount on selectImpl is not reflecting the actual reseultCount of that SelectImpl but actually specifying the number of rows to be optimized for that selectImpl.So user might very well say optimize for 1 row where as the actual number of results returned by selectImpl is more than 1.To me the expectedResultCount is misleading and should be optimizeResultCount. > 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.