For some reason i can not use BindIn but have to use BindBeans to pass in a list of string values for in clause. I have below, but seems can not pass the Types as i wanted. Any advise please?
*MyFilter {
private final String Types;
private final Timestamp Date;
public MyFilter (){
this.Types = "A','B"
THIS.Date = now();
}
}
@SqlQuery("select * from table where type in (:Types) and date = :Date ")
public abstract List<xx> get(@BindBean MyFilter filter);*