added QueryEntities test

This commit is contained in:
Timo Westkämper 2012-07-11 20:51:22 +03:00
parent b43a6a89d5
commit 1e7caeb59f
4 changed files with 31 additions and 0 deletions

View File

@ -0,0 +1,8 @@
package com.mysema.query.domain;
import com.mysema.query.annotations.QueryEntity;
@QueryEntity
public class B extends A {
}

View File

@ -0,0 +1,5 @@
@QueryEntities({A.class, Tenant.class})
package com.mysema.query.domain;
import com.mysema.query.annotations.*;

View File

@ -0,0 +1,10 @@
package com.mysema.query.domain;
import com.mysema.query.annotations.QueryEntity;
@QueryEntity
public class A {
public Tenant tenant;
}

View File

@ -0,0 +1,8 @@
package com.mysema.query.domain;
import com.mysema.query.annotations.QueryEntity;
@QueryEntity
public class Tenant {
}