mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1780 - Add tests for this RawSql case
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user