mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-12-01 15:37:14 +00:00
#1100 - Refactor OrmQueryPlanKey to use string expression for where
This commit is contained in:
1 parent
a695fb59b2
commit
f83c7fdac8
54 files changed
+359
-723
No files matched your search
@@ -6,7 +6,7 @@ import org.junit.Test;
|
||||
|
||||
import static org.assertj.core.api.StrictAssertions.assertThat;
|
||||
|
||||
public class IdExpressionTest {
|
||||
public class IdExpressionTest extends BaseExpressionTest {
|
||||
|
||||
|
||||
@NotNull
|
||||
@@ -17,13 +17,13 @@ public class IdExpressionTest {
|
||||
@Test
|
||||
public void isSameByPlan_when_same() {
|
||||
|
||||
assertThat(exp(10).isSameByPlan(exp(10))).isTrue();
|
||||
same(exp(10), exp(10));
|
||||
}
|
||||
|
||||
@Test
|
||||
public void isSameByPlan_when_diffBind_same() {
|
||||
|
||||
assertThat(exp(10).isSameByPlan(exp(20))).isTrue();
|
||||
same(exp(10), exp(20));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in new issue
Block a user