mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-30 21:08:30 +08:00
This commit is contained in:
parent
b5aa1a6ed4
commit
6fa873da46
@ -0,0 +1,16 @@
|
||||
package com.mysema.query.domain;
|
||||
|
||||
import org.junit.Ignore;
|
||||
|
||||
import com.mysema.query.annotations.QueryEntity;
|
||||
import com.mysema.query.codegen.sub.AbstractEntity;
|
||||
|
||||
@Ignore
|
||||
public class ExternalEntityTest {
|
||||
|
||||
@QueryEntity
|
||||
public class MyEntity extends AbstractEntity<MyEntity> {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
@ -48,7 +48,7 @@ public final class TypeResolver {
|
||||
}
|
||||
}
|
||||
|
||||
if (index > -1 && subtype.getSuperType() != null){
|
||||
if (index > -1){
|
||||
// get binding of var via model supertype
|
||||
Supertype type = subtype.getSuperType();
|
||||
while (!type.getType().equals(declaringType)){
|
||||
|
||||
@ -0,0 +1,5 @@
|
||||
package com.mysema.query.codegen.sub;
|
||||
|
||||
public class AbstractEntity<T> {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user