cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Szu-Yu Wang (Commented) (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CXF-4221) FIQL visitor to return a generic <K> instead of String
Date Tue, 03 Apr 2012 21:56:25 GMT

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

Szu-Yu Wang commented on CXF-4221:
----------------------------------

Basically, what I want to do is to use the FIQL parser, but I want to create a JPA criteria
query, as opposed to a SQL query.  I was using the code template in the advanced features
section to accomplish this.  

Upon further review, it looks like I'll also have to modify the parser, as the current parser
will not be able to do bean.sub-bean.property=gt=5 (which make sense for a SQL implementation)
 but for a JPA expression level implementation, I can do more than a single-resource query.

                
> FIQL visitor to return a generic <K> instead of String
> ------------------------------------------------------
>
>                 Key: CXF-4221
>                 URL: https://issues.apache.org/jira/browse/CXF-4221
>             Project: CXF
>          Issue Type: Improvement
>            Reporter: Szu-Yu Wang
>
> It would be great if SearchConditionVisitor<T, K> where K was the return type of
the getResult() call.  This way, I can CriteriaQuery<T> instead of String.
> Also, incidentally, the operation isn't "getResult", it's more like "getPredicate" or
"getFilter"...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message