mirror of
https://github.com/querydsl/querydsl.git
synced 2026-06-16 21:01:10 +08:00
added QueryEntities test
This commit is contained in:
parent
b43a6a89d5
commit
1e7caeb59f
@ -0,0 +1,8 @@
|
||||
package com.mysema.query.domain;
|
||||
|
||||
import com.mysema.query.annotations.QueryEntity;
|
||||
|
||||
@QueryEntity
|
||||
public class B extends A {
|
||||
|
||||
}
|
||||
@ -0,0 +1,5 @@
|
||||
@QueryEntities({A.class, Tenant.class})
|
||||
package com.mysema.query.domain;
|
||||
|
||||
import com.mysema.query.annotations.*;
|
||||
|
||||
10
querydsl-core/src/test/java/com/mysema/query/domain/A.java
Normal file
10
querydsl-core/src/test/java/com/mysema/query/domain/A.java
Normal file
@ -0,0 +1,10 @@
|
||||
package com.mysema.query.domain;
|
||||
|
||||
import com.mysema.query.annotations.QueryEntity;
|
||||
|
||||
@QueryEntity
|
||||
public class A {
|
||||
|
||||
public Tenant tenant;
|
||||
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
package com.mysema.query.domain;
|
||||
|
||||
import com.mysema.query.annotations.QueryEntity;
|
||||
|
||||
@QueryEntity
|
||||
public class Tenant {
|
||||
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user