:私は「 Caused by: org.hibernate.hql.internal.ast.QuerySyntaxException: expecting CLOSE, found '(' near line 1, column 41 [select date(chat.datePosted), count(date(chat.datePosted))
from com.test.model.
where case in where querydslの条件で使用例を探しています。 SELECT欄1、欄2 FROMビューWHERE CASE WHEN column1 == 'b' THEN account_location =? WHEN column1 == 'm' THEN location_area =? 私は最近querydslの使用を開始します。私はquerydslケースビルダー
@Document(collection="users")
public class User{
@Id
private int id;
private String name;
...
//getters-setters
}
@Document(collection="models")
public class Model{