mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1256 - Query where many isNotEmpty() ... on ManyToMany with SoftDelete produces incorrect SQL (Part 2)
This commit is contained in:
@@ -11,6 +11,11 @@ public class DeployPropertyParserTest extends BaseTestCase {
|
||||
|
||||
private final BeanDescriptor<Customer> descriptor = getBeanDescriptor(Customer.class);
|
||||
|
||||
@Test
|
||||
public void from_prefix_expect_unchanged() {
|
||||
assertThat(parser().parse("(select x from status join status)")).isEqualTo("(select x from status join status)");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void depth0_path() {
|
||||
assertThat(parser().parse("pre status post")).isEqualTo("pre ${}status post");
|
||||
|
||||
@@ -18,6 +18,16 @@ public class MsManyA {
|
||||
@SoftDelete
|
||||
boolean deleted;
|
||||
|
||||
/**
|
||||
* Name clash with M2M intersection table name.
|
||||
*/
|
||||
boolean ms_many_a_many_b;
|
||||
|
||||
/**
|
||||
* Name clash with other side table name.
|
||||
*/
|
||||
boolean ms_many_b;
|
||||
|
||||
@ManyToMany
|
||||
List<MsManyB> manybs;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user