mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-03 00:23:24 +00:00
Fix for #277 - please check fetchPaths not null - NPE on OrmQueryDetail.convertManyFetchJoinsToQueryJoins(OrmQueryDetail.java:331)
This commit is contained in:
1 parent
1260edc8ed
commit
0c5e092d16
2 files changed
+20
-1
No files matched your search
@@ -0,0 +1,19 @@
|
||||
package com.avaje.tests.query;
|
||||
|
||||
import com.avaje.ebean.BaseTestCase;
|
||||
import com.avaje.ebean.Ebean;
|
||||
import com.avaje.tests.model.basic.Customer;
|
||||
import org.junit.Test;
|
||||
|
||||
public class TestInvalidFetchPath extends BaseTestCase {
|
||||
|
||||
@Test
|
||||
public void testWithPathAndProperties() {
|
||||
|
||||
Ebean.find(Customer.class)
|
||||
.fetch("notHaveProps", "notHaveProps")
|
||||
.findList();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user