#1780 - Add tests for this RawSql case

This commit is contained in:
rob bygrave
2019-11-06 23:30:21 +13:00
parent 51fad2dec6
commit 7d77df58c5
3 changed files with 133 additions and 0 deletions
@@ -0,0 +1,30 @@
package org.tests.rawsql;
import io.ebean.annotation.Sql;
import javax.persistence.Entity;
@Entity
@Sql
public class A2Customer {
private long custId;
private String customerName;
public long getCustId() {
return custId;
}
public void setCustId(long custId) {
this.custId = custId;
}
public String getCustomerName() {
return customerName;
}
public void setCustomerName(String customerName) {
this.customerName = customerName;
}
}