mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
No effective change - modify tests for SqlServer
This commit is contained in:
@@ -4,6 +4,8 @@ import io.ebean.BaseTestCase;
|
||||
import io.ebean.CacheMode;
|
||||
import io.ebean.Ebean;
|
||||
import io.ebean.Pairs;
|
||||
import io.ebean.annotation.IgnorePlatform;
|
||||
import io.ebean.annotation.Platform;
|
||||
import io.ebean.cache.ServerCache;
|
||||
import io.ebean.cache.ServerCacheManager;
|
||||
import io.ebean.cache.ServerCacheStatistics;
|
||||
@@ -249,6 +251,7 @@ public class TestCacheViaComplexNaturalKey3 extends BaseTestCase {
|
||||
assertBeanCacheHitMiss(0, 0);
|
||||
}
|
||||
|
||||
@IgnorePlatform({Platform.MYSQL, Platform.SQLSERVER})
|
||||
@Test
|
||||
public void findList_inPairs_standardConcat() {
|
||||
|
||||
@@ -284,6 +287,7 @@ public class TestCacheViaComplexNaturalKey3 extends BaseTestCase {
|
||||
|
||||
}
|
||||
|
||||
@IgnorePlatform({Platform.MYSQL, Platform.SQLSERVER})
|
||||
@Test
|
||||
public void findList_inPairs_userConcat() {
|
||||
|
||||
|
||||
@@ -10,17 +10,17 @@ import java.util.List;
|
||||
@Entity
|
||||
public class OtoThTop extends BaseModel {
|
||||
|
||||
String top;
|
||||
String topp;
|
||||
|
||||
@OneToMany(cascade = CascadeType.ALL)
|
||||
List<OtoThMany> manies;
|
||||
|
||||
public String getTop() {
|
||||
return top;
|
||||
public String getTopp() {
|
||||
return topp;
|
||||
}
|
||||
|
||||
public void setTop(String top) {
|
||||
this.top = top;
|
||||
public void setTopp(String topp) {
|
||||
this.topp = topp;
|
||||
}
|
||||
|
||||
public List<OtoThMany> getManies() {
|
||||
|
||||
@@ -9,7 +9,7 @@ public class TestOneToOneManyDelete {
|
||||
public void test() {
|
||||
|
||||
OtoThTop top = new OtoThTop();
|
||||
top.setTop("top");
|
||||
top.setTopp("top");
|
||||
for (int i = 0; i < 4; i++) {
|
||||
|
||||
OtoThMany many = new OtoThMany();
|
||||
|
||||
Reference in New Issue
Block a user