[ https://issues.apache.org/jira/browse/CXF-5990?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14122995#comment-14122995 ]
Romain Castan commented on CXF-5990: ------------------------------------ If you take the unit test org.apache.cxf.jaxrs.ext.search.jpa.JPATypedQueryVisitorFiqlTest.testQueryCollection2() and you replace {code} reviews.book.id==10 {code} by {code} reviews.book.id==1* {code} This exception is thrown org.apache.cxf.jaxrs.ext.search.SearchParseException: Cannot convert String value "1*" to a value of class java.util.List It not possible to use the character '*' on the attributes if the attribute has the type different of String. It's maybe a strange request but JPA can convert an integer, for example, to string to apply the operator 'like'. > Integration custom parser > ------------------------- > > Key: CXF-5990 > URL: https://issues.apache.org/jira/browse/CXF-5990 > Project: CXF > Issue Type: Improvement > Components: JAX-RS > Affects Versions: 3.0.1 > Reporter: Romain Castan > Labels: features > Attachments: patch1.diff > > > Hi, > I would like to use a custom parser with the same parameters of FiqlParser. > With the property "search.parser" is not possible to reuse the following > parameters "props" and "beanProps". > To continue on my project, I modified the code of SearchContextImpl (see > patch1.diff). But perhaps, there is already a solution for my demand. > Could you give me the best solution? > I wanted create a new parser because today with FiqlParser, it's not possible > to apply a filter on integer attribute with '*' value. > I don't know if this feature has been forgotten? -- This message was sent by Atlassian JIRA (v6.3.4#6332)