[jira] [Commented] (JUDDI-785) find with CASE_INSENSITIVE_SORT throws JPA exception
[ https://issues.apache.org/jira/browse/JUDDI-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13888663#comment-13888663 ] ASF subversion and git services commented on JUDDI-785: --- Commit 1563451 from [~spyhunter99] in branch 'juddi/trunk' [ https://svn.apache.org/r1563451 ] JUDDI-785 fixing javadoc references > 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: Alex O'Ree >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", > ]." 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)
[jira] [Commented] (JUDDI-785) find with CASE_INSENSITIVE_SORT throws JPA exception
[ https://issues.apache.org/jira/browse/JUDDI-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13888634#comment-13888634 ] ASF subversion and git services commented on JUDDI-785: --- Commit 1563432 from [~spyhunter99] in branch 'juddi/trunk' [ https://svn.apache.org/r1563432 ] JUDDI-785 enabling all CASE_INSENSITIVE_SORT tests with exclusions for juddi, adding tests for unknown find qualifiers and validators to throw on unsupported fqs > 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", > ]." 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)
[jira] [Commented] (JUDDI-785) find with CASE_INSENSITIVE_SORT throws JPA exception
[ 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", > ]." 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)
[jira] [Commented] (JUDDI-785) find with CASE_INSENSITIVE_SORT throws JPA exception
[ https://issues.apache.org/jira/browse/JUDDI-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877809#comment-13877809 ] Kurt T Stam commented on JUDDI-785: --- jUDDI won't support case insensitive sort, unless the JPA spec is updated to support it. The workaround is to perform an case insensitive match. > 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", > ]." 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)
[jira] [Commented] (JUDDI-785) find with CASE_INSENSITIVE_SORT throws JPA exception
[ https://issues.apache.org/jira/browse/JUDDI-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877808#comment-13877808 ] Kurt T Stam commented on JUDDI-785: --- jUDDI now ignores caseInsensitive sorting, a workaround is to do a caseInsensitive match. The javadoc has been updated accordingly. > 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", > ]." 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)
[jira] [Commented] (JUDDI-785) find with CASE_INSENSITIVE_SORT throws JPA exception
[ https://issues.apache.org/jira/browse/JUDDI-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877761#comment-13877761 ] Kurt T Stam commented on JUDDI-785: --- Right; looks like an issue with the JPA specification which does not support UPPER: https://issues.apache.org/jira/browse/OPENJPA-1817 > 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", > ]." 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)
[jira] [Commented] (JUDDI-785) find with CASE_INSENSITIVE_SORT throws JPA exception
[ https://issues.apache.org/jira/browse/JUDDI-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877656#comment-13877656 ] Kurt T Stam commented on JUDDI-785: --- Hi Alex, how to reproduce? > 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", > ]." 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)
[jira] [Commented] (JUDDI-785) find with CASE_INSENSITIVE_SORT throws JPA exception
[ https://issues.apache.org/jira/browse/JUDDI-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13877666#comment-13877666 ] Alex O'Ree commented on JUDDI-785: -- UDDI_070_FindEntityIntegrationTest see @Ignore tests > 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", > ]." 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)
[jira] [Commented] (JUDDI-785) find with CASE_INSENSITIVE_SORT throws JPA exception
[ https://issues.apache.org/jira/browse/JUDDI-785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13875670#comment-13875670 ] Alex O'Ree commented on JUDDI-785: -- I've been through all of the find qualifiers, only case insensitive sort is broken. all of the other at least don't crash > 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", > ]." 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)
