[ 
https://issues.apache.org/jira/browse/JUDDI-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13878697#comment-13878697
 ] 

ASF subversion and git services commented on JUDDI-785:
-------------------------------------------------------

Commit 1560361 from [~kstam] in branch 'juddi/trunk'
[ https://svn.apache.org/r1560361 ]

JUDDI-785 ignore caseInsensitiveSort

> find with CASE_INSENSITIVE_SORT throws JPA exception
> ----------------------------------------------------
>
>                 Key: JUDDI-785
>                 URL: https://issues.apache.org/jira/browse/JUDDI-785
>             Project: jUDDI
>          Issue Type: Bug
>          Components: core
>            Reporter: Alex O'Ree
>            Assignee: Kurt T Stam
>            Priority: Blocker
>             Fix For: 3.2
>
>
> JUDDI_764caseInsensitiveSortTModelKey(org.apache.juddi.v3.tck.UDDI_070_FindEntityIntegrationTest)
>   Time elapsed: 0.066 sec  <<< ERROR!
> javax.xml.ws.soap.SOAPFaultException: "Encountered "upper" at character 670, 
> but expected: ["AVG", "COUNT", "KEY", "MAX", "MIN", "SUM", "VALUE", 
> <IDENTIFIER>]." while parsing JPQL "select t from Tmodel t where 1=1 and 
> t.entityKey in ( ?1, ?2, ?3, ?4, ?5, ?6, ?7, ?8, ?9, ?10, ?11, ?12, ?13, ?14, 
> ?15, ?16, ?17, ?18, ?19, ?20, ?21, ?22, ?23, ?24, ?25, ?26, ?27, ?28, ?29, 
> ?30, ?31, ?32, ?33, ?34, ?35, ?36, ?37, ?38, ?39, ?40, ?41, ?42, ?43, ?44, 
> ?45, ?46, ?47, ?48, ?49, ?50, ?51, ?52, ?53, ?54, ?55, ?56, ?57, ?58, ?59, 
> ?60, ?61, ?62, ?63, ?64, ?65, ?66, ?67, ?68, ?69, ?70, ?71, ?72, ?73, ?74, 
> ?75, ?76, ?77, ?78, ?79, ?80, ?81, ?82, ?83, ?84, ?85, ?86, ?87, ?88, ?89, 
> ?90, ?91, ?92, ?93, ?94, ?95, ?96, ?97, ?98, ?99, ?100, ?101, ?102, ?103, 
> ?104, ?105, ?106, ?107, ?108, ?109, ?110, ?111, ?112, ?113, ?114, ?115, ?116, 
> ?117, ?118, ?119) order by upper(t.name) asc, t.modified desc". See nested 
> stack trace for original parse error.
>  FindTModel fb = new FindTModel();
>                 fb.setAuthInfo(authInfoJoe);
>                 fb.setFindQualifiers(new FindQualifiers());
>                 
> fb.getFindQualifiers().getFindQualifier().add(UDDIConstants.CASE_INSENSITIVE_SORT_TMODEL);
>                 
> fb.getFindQualifiers().getFindQualifier().add(UDDIConstants.APPROXIMATE_MATCH);
>                 fb.setName(new Name(UDDIConstants.WILDCARD, null));
>                 inquiry.findTModel(fb);



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to