I'm looking to select using two conditions in LambdaJ select, i've tried to use and() function but i can't figure out how to use it.the above code selects using one condition. how i could add another condition?
select(filteredPB, having(on(Table.class).getId(), IsEqual.equalTo(key)))
You could use Matchers.allOf for ANDs and Matchers.anyOf for ORs. Like this: