mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-30 21:08:30 +08:00
This commit is contained in:
parent
625426a04c
commit
e1b379c5e9
@ -22,9 +22,15 @@ public class QuerydslAnnotationProcessorTest extends AbstractProcessorTest{
|
||||
}
|
||||
|
||||
@Test
|
||||
public void processInheritance() throws IOException{
|
||||
File file = new File("src/test/java/com/mysema/query/inheritance/", "Inheritance3Test.java");
|
||||
process(QuerydslAnnotationProcessor.class, Collections.singletonList(file.getPath()),"qdsl");
|
||||
public void processInheritance3() throws IOException{
|
||||
String path = new File("src/test/java/com/mysema/query/inheritance/Inheritance3Test.java").getPath();
|
||||
process(QuerydslAnnotationProcessor.class, Collections.singletonList(path),"inheritance");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void processInheritance8() throws IOException{
|
||||
String path = new File("src/test/java/com/mysema/query/inheritance/Inheritance8Test.java").getPath();
|
||||
process(QuerydslAnnotationProcessor.class, Collections.singletonList(path),"inheritance");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
@ -211,9 +211,7 @@ public final class EntityType extends TypeAdapter implements Comparable<EntityTy
|
||||
addDelegate(delegate);
|
||||
}
|
||||
for (Property property : entityType.getProperties()){
|
||||
if (!property.isInherited()){
|
||||
addProperty(property.createCopy(this));
|
||||
}
|
||||
addProperty(property.createCopy(this));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -13,7 +13,7 @@ package com.mysema.query.codegen;
|
||||
*/
|
||||
public final class TypeResolver {
|
||||
|
||||
public static Type resolve(Type type, Type declaringType, EntityType context){
|
||||
public static Type resolve(Type type, Type declaringType, EntityType context){
|
||||
Type resolved = type;
|
||||
|
||||
// handle generic types
|
||||
|
||||
@ -9,6 +9,7 @@ import com.mysema.query.annotations.QuerySupertype;
|
||||
|
||||
@QuerySupertype
|
||||
public class CommonPersistence {
|
||||
|
||||
private Long version;
|
||||
|
||||
public Long getVersion() {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user