mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-13 21:01:01 +08:00
28 lines
504 B
Java
28 lines
504 B
Java
package com.mysema.query.codegen;
|
|
|
|
import org.junit.Ignore;
|
|
|
|
import com.mysema.query.annotations.QueryEntity;
|
|
import com.mysema.query.annotations.QuerySupertype;
|
|
|
|
@Ignore
|
|
public class EntityInheritanceTest {
|
|
|
|
@QuerySupertype
|
|
public static class TreeEntity<T extends TreeEntity<T>> {
|
|
|
|
Integer id;
|
|
|
|
T parent;
|
|
|
|
}
|
|
|
|
@QueryEntity
|
|
public static class TestEntity extends TreeEntity<TestEntity> {
|
|
|
|
String name;
|
|
|
|
}
|
|
|
|
}
|