deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kelly Goedert <kelly.goed...@gmail.com>
Subject Deltaspike data dynamic queries
Date Thu, 26 Mar 2015 11:42:46 GMT
Hi,

I am looking for a way to have better dynamic queries in my project. I
found spring data and deltaspike data. One thing spring data appears to be
able to do is to have something like this:

findAll(bl.branchName.eq(“CitiBank”).and((bl.state.eq(“Texas”).or(b1.state.
eq(“Connecticut”)))

which is the ability to pass a Predicate as a parameter do the Repository
interface.

Is there a way to achieve this kind of dynamic query with deltaspike data?

Thanks

Kelly

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message