This commit is contained in:
Timo Westkämper 2011-07-27 06:40:06 +00:00
parent b5aa1a6ed4
commit 6fa873da46
3 changed files with 22 additions and 1 deletions

View File

@ -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> {
}
}

View File

@ -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)){

View File

@ -0,0 +1,5 @@
package com.mysema.query.codegen.sub;
public class AbstractEntity<T> {
}