mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Rename db columns that clash with sql server keywords etc
This commit is contained in:
+2
-1
@@ -8,6 +8,7 @@ import java.util.List;
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.Id;
|
||||
import javax.persistence.PersistenceException;
|
||||
import javax.persistence.Table;
|
||||
|
||||
import org.avaje.agentloader.AgentLoader;
|
||||
import org.junit.BeforeClass;
|
||||
@@ -49,7 +50,7 @@ public class TransactionNotTerminatedAfterRollback {
|
||||
}
|
||||
}
|
||||
|
||||
@Entity public static class User {
|
||||
@Entity @Table(name="tx_user") public static class User {
|
||||
@Id Long id;
|
||||
String name;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user