#540 - Add tests for ... RawSqlBuilder columnMapping is confused by commas in COALESCE (actually fixed in 6.14.1)

This commit is contained in:
Robin Bygrave
2016-05-19 09:35:39 +12:00
parent cb51ea4238
commit e3a7c3040b
2 changed files with 111 additions and 0 deletions
@@ -0,0 +1,48 @@
package com.avaje.tests.model.rawsql;
import com.avaje.ebean.annotation.Sql;
import javax.persistence.Entity;
import java.time.LocalDate;
@Entity
@Sql
public class ERawSqlAggBean {
LocalDate day;
long total;
int scheduled;
int completed;
public LocalDate getDay() {
return day;
}
public void setDay(LocalDate day) {
this.day = day;
}
public long getTotal() {
return total;
}
public void setTotal(long total) {
this.total = total;
}
public int getScheduled() {
return scheduled;
}
public void setScheduled(int scheduled) {
this.scheduled = scheduled;
}
public int getCompleted() {
return completed;
}
public void setCompleted(int completed) {
this.completed = completed;
}
}