querydsl/querydsl-codegen/src/test/java/com/mysema/query/codegen/EntityInheritanceTest.java
2012-04-04 22:33:57 +03:00

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;
}
}