From 153ba146c654c4a1590b0ee30d67d0ad09bad3be Mon Sep 17 00:00:00 2001 From: eXsio Date: Mon, 27 Jan 2020 19:45:05 +0100 Subject: [PATCH] 2.4.3 --- CHANGELOG.txt | 4 ++ README.md | 4 +- pom.xml | 2 +- .../pl/exsio/querydsl/entityql/QBase.java | 2 + .../pl/exsio/querydsl/entityql/QExporter.java | 4 ++ .../exsio/querydsl/entityql/QStaticModel.java | 2 + src/main/resources/staticTemplate.twig | 6 +++ .../jpa/entity/it/generated/QBook.groovy | 7 +++ .../entity/it/generated/QCompositeFk.groovy | 7 +++ .../entity/it/generated/QCompositePk.groovy | 7 +++ .../jpa/entity/it/generated/QGroup.groovy | 7 +++ .../entity/it/generated/QGroupAdmin.groovy | 7 +++ .../jpa/entity/it/generated/QOrder.groovy | 7 +++ .../jpa/entity/it/generated/QOrderItem.groovy | 34 ++++++++------ .../entity/it/generated/QSingularPk.groovy | 34 ++++++++------ .../entity/it/generated/QUploadedFile.groovy | 34 ++++++++------ .../jpa/entity/it/generated/QUser.groovy | 45 +++++++++++-------- .../jpa/entity/it/generated/QUserGroup.groovy | 34 ++++++++------ .../entity/it/generated/QBook.groovy | 31 ++++++++----- .../entity/it/generated/QGroup.groovy | 34 ++++++++------ .../entity/it/generated/QGroupAdmin.groovy | 30 ++++++++----- .../entity/it/generated/QOrder.groovy | 32 +++++++------ .../entity/it/generated/QOrderItem.groovy | 34 ++++++++------ .../entity/it/generated/QUploadedFile.groovy | 34 ++++++++------ .../entity/it/generated/QUser.groovy | 45 +++++++++++-------- .../entityql/jpa/entity/generated/QJBook.java | 11 +++-- .../jpa/entity/generated/QJCompositeFk.java | 9 +++- .../jpa/entity/generated/QJCompositePk.java | 9 +++- .../jpa/entity/generated/QJGroup.java | 9 +++- .../jpa/entity/generated/QJGroupAdmin.java | 9 +++- .../jpa/entity/generated/QJOrder.java | 9 +++- .../jpa/entity/generated/QJOrderItem.java | 9 +++- .../jpa/entity/generated/QJSingularPk.java | 9 +++- .../jpa/entity/generated/QJUploadedFile.java | 13 ++++-- .../entityql/jpa/entity/generated/QJUser.java | 11 +++-- .../jpa/entity/generated/QJUserGroup.java | 9 +++- 36 files changed, 392 insertions(+), 202 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 939621d..1924f32 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,3 +1,7 @@ + - 2.4.3 + - added @Generated annotation + - added alternative static field + - added serialVersionUid - 2.4.2 - don't use wildcards in imports of static models - 2.4.1 diff --git a/README.md b/README.md index f9ecda2..6d5ba8b 100644 --- a/README.md +++ b/README.md @@ -266,7 +266,7 @@ In the most basic form you just need EntityQL, JPA API and QueryDSL-SQL: com.github.eXsio querydsl-entityql - 2.4.2 + 2.4.3 @@ -375,7 +375,7 @@ new QExporter().export(qEntity(YourEntity.class), fileNamePattern, packageName, Generated classes are fully compatible with Java and Groovy. -**Since 2.4.2 Static Models contain all the dynamic features of the Dynamic Models!:** +**Since 2.4.3 Static Models contain all the dynamic features of the Dynamic Models!:** ```java diff --git a/pom.xml b/pom.xml index fbba585..082bd87 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.github.eXsio querydsl-entityql - 2.4.2 + 2.4.3 org.springframework.boot diff --git a/src/main/java/pl/exsio/querydsl/entityql/QBase.java b/src/main/java/pl/exsio/querydsl/entityql/QBase.java index 975255d..6c0fabd 100644 --- a/src/main/java/pl/exsio/querydsl/entityql/QBase.java +++ b/src/main/java/pl/exsio/querydsl/entityql/QBase.java @@ -37,6 +37,8 @@ public abstract class QBase extends RelationalPathBase { super(type, variable, schema, table); } + + protected > StoreClause set(StoreClause clause, Function> pathProvider, Object... params) { if (params.length % 2 != 0) { throw new InvalidArgumentException("Odd number of parameters"); diff --git a/src/main/java/pl/exsio/querydsl/entityql/QExporter.java b/src/main/java/pl/exsio/querydsl/entityql/QExporter.java index e228d25..64abe2f 100644 --- a/src/main/java/pl/exsio/querydsl/entityql/QExporter.java +++ b/src/main/java/pl/exsio/querydsl/entityql/QExporter.java @@ -20,6 +20,7 @@ import java.util.ArrayList; import java.util.Arrays; import java.util.List; +import java.util.Objects; /** * Utility Class used to generate Static Java classes from the Dynamic Q Models. @@ -80,11 +81,14 @@ private Path getFilePath(String pkgName, String destinationPath, String fileName private String renderClass(Q q, String pkgName, Class type, String fileName, boolean isGroovy) { String className = FilenameUtils.removeExtension(fileName); JtwigTemplate template = JtwigTemplate.classpathTemplate("staticTemplate.twig", configuration); + int hash = Objects.hash(q.columns().keySet(), q.joinColumns().keySet(), q.inverseJoinColumns().keySet()); return template.render(JtwigModel.newModel() .with("package", pkgName) .with("className", className) .with("entityName", type.getName()) .with("entitySimpleName", type.getSimpleName()) + .with("exporterName", getClass().getName()) + .with("uid", hash) .with("q", q) .with("isGroovy", isGroovy) ); diff --git a/src/main/java/pl/exsio/querydsl/entityql/QStaticModel.java b/src/main/java/pl/exsio/querydsl/entityql/QStaticModel.java index 09323c0..3c0a8d5 100644 --- a/src/main/java/pl/exsio/querydsl/entityql/QStaticModel.java +++ b/src/main/java/pl/exsio/querydsl/entityql/QStaticModel.java @@ -20,6 +20,8 @@ public QStaticModel(Class type, String variable, String schema, Str super(type, variable, schema, table); } + + /** * Convenience method used to quiclky set values on insert/update/merge clauses. * Method requires the 'params' parameter to be of even size. diff --git a/src/main/resources/staticTemplate.twig b/src/main/resources/staticTemplate.twig index b5e5ba1..0215a80 100644 --- a/src/main/resources/staticTemplate.twig +++ b/src/main/resources/staticTemplate.twig @@ -33,6 +33,7 @@ import {{entityName}}; import {{fkPath.config.computedFieldType.name}}; {% endfor %} {% endfor %} +import javax.annotation.Generated; {% if(isGroovy) %} import groovy.transform.CompileStatic; {% else %} @@ -51,10 +52,15 @@ import java.util.List; {% if(isGroovy) %} @CompileStatic {% endif %} +@Generated("{{exporterName}}") public final class {{ className }} extends QStaticModel<{{entitySimpleName}}> { + private static final long serialVersionUID = {{uid}}; + public static final {{ className }} INSTANCE = new {{ className }}(); + public static final {{ className }} q{{entitySimpleName}} = INSTANCE; + {% for name, path in q.rawColumns %} public final {{macros.printColumnType(path)}} {{ name }}; {% endfor %} diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QBook.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QBook.groovy index 77cafd9..bc88d93 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QBook.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QBook.groovy @@ -11,16 +11,23 @@ import pl.exsio.querydsl.entityql.QPathFactory import pl.exsio.querydsl.entityql.QStaticModel import pl.exsio.querydsl.entityql.jpa.entity.it.Book +import javax.annotation.Generated + /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QBook extends QStaticModel { + private static final long serialVersionUID = 1595067359; + public static final QBook INSTANCE = new QBook(); + public static final QBook qBook = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QCompositeFk.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QCompositeFk.groovy index 40c9bfa..a192bc4 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QCompositeFk.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QCompositeFk.groovy @@ -14,16 +14,23 @@ import pl.exsio.querydsl.entityql.jpa.entity.it.CompositeFk import pl.exsio.querydsl.entityql.jpa.entity.it.CompositePk import pl.exsio.querydsl.entityql.jpa.entity.it.SingularPk +import javax.annotation.Generated + /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QCompositeFk extends QStaticModel { + private static final long serialVersionUID = 594020407; + public static final QCompositeFk INSTANCE = new QCompositeFk(); + public static final QCompositeFk qCompositeFk = INSTANCE; + public final NumberPath id; public final StringPath desc; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QCompositePk.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QCompositePk.groovy index 7761a79..b8bb3bd 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QCompositePk.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QCompositePk.groovy @@ -13,16 +13,23 @@ import pl.exsio.querydsl.entityql.QStaticModel import pl.exsio.querydsl.entityql.jpa.entity.it.CompositeFk import pl.exsio.querydsl.entityql.jpa.entity.it.CompositePk +import javax.annotation.Generated + /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QCompositePk extends QStaticModel { + private static final long serialVersionUID = -1372227420; + public static final QCompositePk INSTANCE = new QCompositePk(); + public static final QCompositePk qCompositePk = INSTANCE; + public final NumberPath id1; public final StringPath id2; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QGroup.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QGroup.groovy index 4c7da23..376df00 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QGroup.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QGroup.groovy @@ -13,16 +13,23 @@ import pl.exsio.querydsl.entityql.QStaticModel import pl.exsio.querydsl.entityql.jpa.entity.it.Group import pl.exsio.querydsl.entityql.jpa.entity.it.GroupAdmin +import javax.annotation.Generated + /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QGroup extends QStaticModel { + private static final long serialVersionUID = 1844673376; + public static final QGroup INSTANCE = new QGroup(); + public static final QGroup qGroup = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QGroupAdmin.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QGroupAdmin.groovy index 97323c9..77df6a2 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QGroupAdmin.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QGroupAdmin.groovy @@ -11,16 +11,23 @@ import pl.exsio.querydsl.entityql.QPathFactory import pl.exsio.querydsl.entityql.QStaticModel import pl.exsio.querydsl.entityql.jpa.entity.it.GroupAdmin +import javax.annotation.Generated + /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QGroupAdmin extends QStaticModel { + private static final long serialVersionUID = -1049580923; + public static final QGroupAdmin INSTANCE = new QGroupAdmin(); + public static final QGroupAdmin qGroupAdmin = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QOrder.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QOrder.groovy index 2a7cfa6..4757c22 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QOrder.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QOrder.groovy @@ -13,16 +13,23 @@ import pl.exsio.querydsl.entityql.jpa.entity.it.Order import pl.exsio.querydsl.entityql.jpa.entity.it.OrderItem import pl.exsio.querydsl.entityql.jpa.entity.it.User +import javax.annotation.Generated + /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QOrder extends QStaticModel { + private static final long serialVersionUID = 1021087534; + public static final QOrder INSTANCE = new QOrder(); + public static final QOrder qOrder = INSTANCE; + public final NumberPath id; public final NumberPath userId; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QOrderItem.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QOrderItem.groovy index 4b569ad..98e52f6 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QOrderItem.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QOrderItem.groovy @@ -1,17 +1,18 @@ -package pl.exsio.querydsl.entityql.jpa.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.NumberPath -import com.querydsl.sql.ForeignKey -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.jpa.entity.it.Book -import pl.exsio.querydsl.entityql.jpa.entity.it.Order -import pl.exsio.querydsl.entityql.jpa.entity.it.OrderItem +package pl.exsio.querydsl.entityql.jpa.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.NumberPath; +import com.querydsl.sql.ForeignKey; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.jpa.entity.it.Book; +import pl.exsio.querydsl.entityql.jpa.entity.it.Order; +import pl.exsio.querydsl.entityql.jpa.entity.it.OrderItem; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -19,10 +20,15 @@ import pl.exsio.querydsl.entityql.jpa.entity.it.OrderItem * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QOrderItem extends QStaticModel { + private static final long serialVersionUID = 673930422; + public static final QOrderItem INSTANCE = new QOrderItem(); + public static final QOrderItem qOrderItem = INSTANCE; + public final NumberPath id; public final NumberPath quantity; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QSingularPk.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QSingularPk.groovy index a70d443..4fa8339 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QSingularPk.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QSingularPk.groovy @@ -1,17 +1,18 @@ -package pl.exsio.querydsl.entityql.jpa.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.NumberPath -import com.querydsl.core.types.dsl.StringPath -import com.querydsl.sql.ForeignKey -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.jpa.entity.it.CompositeFk -import pl.exsio.querydsl.entityql.jpa.entity.it.SingularPk +package pl.exsio.querydsl.entityql.jpa.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.NumberPath; +import com.querydsl.core.types.dsl.StringPath; +import com.querydsl.sql.ForeignKey; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.jpa.entity.it.CompositeFk; +import pl.exsio.querydsl.entityql.jpa.entity.it.SingularPk; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -19,10 +20,15 @@ import pl.exsio.querydsl.entityql.jpa.entity.it.SingularPk * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QSingularPk extends QStaticModel { + private static final long serialVersionUID = -1372227420; + public static final QSingularPk INSTANCE = new QSingularPk(); + public static final QSingularPk qSingularPk = INSTANCE; + public final NumberPath id1; public final StringPath id2; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUploadedFile.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUploadedFile.groovy index ae03902..455b8bd 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUploadedFile.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUploadedFile.groovy @@ -1,17 +1,18 @@ -package pl.exsio.querydsl.entityql.jpa.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.ArrayPath -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.jpa.entity.it.UploadedFile -import pl.exsio.querydsl.entityql.path.QUuidPath - -import java.lang.reflect.Array +package pl.exsio.querydsl.entityql.jpa.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.ArrayPath; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import java.lang.reflect.Array; +import java.util.UUID; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.jpa.entity.it.UploadedFile; +import pl.exsio.querydsl.entityql.path.QUuidPath; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -19,10 +20,15 @@ import java.lang.reflect.Array * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QUploadedFile extends QStaticModel { + private static final long serialVersionUID = -1335667740; + public static final QUploadedFile INSTANCE = new QUploadedFile(); + public static final QUploadedFile qUploadedFile = INSTANCE; + public final QUuidPath id; public final ArrayPath data; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUser.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUser.groovy index 0c332fa..73c5971 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUser.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUser.groovy @@ -1,22 +1,24 @@ -package pl.exsio.querydsl.entityql.jpa.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.BooleanPath -import com.querydsl.core.types.dsl.NumberPath -import com.querydsl.core.types.dsl.StringPath -import com.querydsl.sql.ForeignKey -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.config.enums.by_name.UserTypeByName -import pl.exsio.querydsl.entityql.config.enums.by_ordinal.UserTypeByOrdinal -import pl.exsio.querydsl.entityql.jpa.entity.it.Order -import pl.exsio.querydsl.entityql.jpa.entity.it.User -import pl.exsio.querydsl.entityql.path.QEnumPath -import pl.exsio.querydsl.entityql.path.QObjectPath +package pl.exsio.querydsl.entityql.jpa.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.BooleanPath; +import com.querydsl.core.types.dsl.NumberPath; +import com.querydsl.core.types.dsl.StringPath; +import com.querydsl.sql.ForeignKey; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import java.util.Date; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.config.enums.by_name.UserTypeByName; +import pl.exsio.querydsl.entityql.config.enums.by_ordinal.UserTypeByOrdinal; +import pl.exsio.querydsl.entityql.jpa.entity.it.Order; +import pl.exsio.querydsl.entityql.jpa.entity.it.User; +import pl.exsio.querydsl.entityql.path.QEnumPath; +import pl.exsio.querydsl.entityql.path.QObjectPath; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -24,10 +26,15 @@ import pl.exsio.querydsl.entityql.path.QObjectPath * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QUser extends QStaticModel { + private static final long serialVersionUID = -1543313588; + public static final QUser INSTANCE = new QUser(); + public static final QUser qUser = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUserGroup.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUserGroup.groovy index 01110b4..352299f 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUserGroup.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/jpa/entity/it/generated/QUserGroup.groovy @@ -1,17 +1,18 @@ -package pl.exsio.querydsl.entityql.jpa.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.NumberPath -import com.querydsl.sql.ForeignKey -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.jpa.entity.it.Group -import pl.exsio.querydsl.entityql.jpa.entity.it.User -import pl.exsio.querydsl.entityql.jpa.entity.it.UserGroup +package pl.exsio.querydsl.entityql.jpa.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.NumberPath; +import com.querydsl.sql.ForeignKey; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.jpa.entity.it.Group; +import pl.exsio.querydsl.entityql.jpa.entity.it.User; +import pl.exsio.querydsl.entityql.jpa.entity.it.UserGroup; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -19,10 +20,15 @@ import pl.exsio.querydsl.entityql.jpa.entity.it.UserGroup * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QUserGroup extends QStaticModel { + private static final long serialVersionUID = 1418974613; + public static final QUserGroup INSTANCE = new QUserGroup(); + public static final QUserGroup qUserGroup = INSTANCE; + public final NumberPath groupId; public final NumberPath userId; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QBook.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QBook.groovy index d1bc350..98bf6eb 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QBook.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QBook.groovy @@ -1,15 +1,17 @@ -package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.NumberPath -import com.querydsl.core.types.dsl.StringPath -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Book +package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.NumberPath; +import com.querydsl.core.types.dsl.StringPath; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import java.math.BigDecimal; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Book; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -17,10 +19,15 @@ import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Book * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QBook extends QStaticModel { + private static final long serialVersionUID = 1595067359; + public static final QBook INSTANCE = new QBook(); + public static final QBook qBook = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QGroup.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QGroup.groovy index 693e2a4..372db62 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QGroup.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QGroup.groovy @@ -1,17 +1,18 @@ -package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.NumberPath -import com.querydsl.core.types.dsl.StringPath -import com.querydsl.sql.ForeignKey -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Group -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.GroupAdmin +package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.NumberPath; +import com.querydsl.core.types.dsl.StringPath; +import com.querydsl.sql.ForeignKey; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Group; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.GroupAdmin; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -19,10 +20,15 @@ import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.GroupAdmin * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QGroup extends QStaticModel { + private static final long serialVersionUID = 1844673376; + public static final QGroup INSTANCE = new QGroup(); + public static final QGroup qGroup = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QGroupAdmin.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QGroupAdmin.groovy index f0eb0f4..8e0302c 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QGroupAdmin.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QGroupAdmin.groovy @@ -1,15 +1,16 @@ -package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.NumberPath -import com.querydsl.core.types.dsl.StringPath -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.GroupAdmin +package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.NumberPath; +import com.querydsl.core.types.dsl.StringPath; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.GroupAdmin; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -17,10 +18,15 @@ import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.GroupAdmin * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QGroupAdmin extends QStaticModel { + private static final long serialVersionUID = -1049580923; + public static final QGroupAdmin INSTANCE = new QGroupAdmin(); + public static final QGroupAdmin qGroupAdmin = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QOrder.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QOrder.groovy index edf2315..1d3066f 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QOrder.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QOrder.groovy @@ -1,16 +1,17 @@ -package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.NumberPath -import com.querydsl.sql.ForeignKey -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Order -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.User +package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.NumberPath; +import com.querydsl.sql.ForeignKey; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Order; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.User; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -18,10 +19,15 @@ import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.User * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QOrder extends QStaticModel { + private static final long serialVersionUID = -151983851; + public static final QOrder INSTANCE = new QOrder(); + public static final QOrder qOrder = INSTANCE; + public final NumberPath id; public final NumberPath userId; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QOrderItem.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QOrderItem.groovy index ef3f2bb..e183ecb 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QOrderItem.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QOrderItem.groovy @@ -1,17 +1,18 @@ -package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.NumberPath -import com.querydsl.sql.ForeignKey -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Book -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Order -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.OrderItem +package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.NumberPath; +import com.querydsl.sql.ForeignKey; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Book; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Order; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.OrderItem; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -19,10 +20,15 @@ import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.OrderItem * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QOrderItem extends QStaticModel { + private static final long serialVersionUID = -1532578597; + public static final QOrderItem INSTANCE = new QOrderItem(); + public static final QOrderItem qOrderItem = INSTANCE; + public final NumberPath id; public final NumberPath quantity; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QUploadedFile.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QUploadedFile.groovy index 219870e..9cc476d 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QUploadedFile.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QUploadedFile.groovy @@ -1,17 +1,18 @@ -package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.ArrayPath -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.path.QUuidPath -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.UploadedFile - -import java.lang.reflect.Array +package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.ArrayPath; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import java.lang.reflect.Array; +import java.util.UUID; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.path.QUuidPath; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.UploadedFile; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -19,10 +20,15 @@ import java.lang.reflect.Array * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QUploadedFile extends QStaticModel { + private static final long serialVersionUID = -1335667740; + public static final QUploadedFile INSTANCE = new QUploadedFile(); + public static final QUploadedFile qUploadedFile = INSTANCE; + public final QUuidPath id; public final ArrayPath data; diff --git a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QUser.groovy b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QUser.groovy index 6a177cb..25765ef 100644 --- a/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QUser.groovy +++ b/src/test/groovy/pl/exsio/querydsl/entityql/spring_data_jdbc/entity/it/generated/QUser.groovy @@ -1,22 +1,24 @@ -package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated - -import com.querydsl.core.types.Path -import com.querydsl.core.types.dsl.BooleanPath -import com.querydsl.core.types.dsl.NumberPath -import com.querydsl.core.types.dsl.StringPath -import com.querydsl.sql.ForeignKey -import com.querydsl.sql.PrimaryKey -import groovy.transform.CompileStatic -import pl.exsio.querydsl.entityql.QColumnMetadataFactory -import pl.exsio.querydsl.entityql.QPathConfig -import pl.exsio.querydsl.entityql.QPathFactory -import pl.exsio.querydsl.entityql.QStaticModel -import pl.exsio.querydsl.entityql.config.enums.by_name.UserTypeByName -import pl.exsio.querydsl.entityql.config.enums.by_ordinal.UserTypeByOrdinal -import pl.exsio.querydsl.entityql.path.QEnumPath -import pl.exsio.querydsl.entityql.path.QObjectPath -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Order -import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.User +package pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.generated; + +import com.querydsl.core.types.Path; +import com.querydsl.core.types.dsl.BooleanPath; +import com.querydsl.core.types.dsl.NumberPath; +import com.querydsl.core.types.dsl.StringPath; +import com.querydsl.sql.ForeignKey; +import com.querydsl.sql.PrimaryKey; +import groovy.transform.CompileStatic; +import java.util.Date; +import javax.annotation.Generated; +import pl.exsio.querydsl.entityql.QColumnMetadataFactory; +import pl.exsio.querydsl.entityql.QPathConfig; +import pl.exsio.querydsl.entityql.QPathFactory; +import pl.exsio.querydsl.entityql.QStaticModel; +import pl.exsio.querydsl.entityql.config.enums.by_name.UserTypeByName; +import pl.exsio.querydsl.entityql.config.enums.by_ordinal.UserTypeByOrdinal; +import pl.exsio.querydsl.entityql.path.QEnumPath; +import pl.exsio.querydsl.entityql.path.QObjectPath; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.Order; +import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.User; /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not @@ -24,10 +26,15 @@ import pl.exsio.querydsl.entityql.spring_data_jdbc.entity.it.User * class generation. */ @CompileStatic +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QUser extends QStaticModel { + private static final long serialVersionUID = 1244961081; + public static final QUser INSTANCE = new QUser(); + public static final QUser qUser = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJBook.java b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJBook.java index 1669596..a6e41c0 100644 --- a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJBook.java +++ b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJBook.java @@ -4,24 +4,29 @@ import com.querydsl.core.types.dsl.NumberPath; import com.querydsl.core.types.dsl.StringPath; import com.querydsl.sql.PrimaryKey; +import java.math.BigDecimal; +import java.util.Arrays; +import javax.annotation.Generated; import pl.exsio.querydsl.entityql.QColumnMetadataFactory; import pl.exsio.querydsl.entityql.QPathConfig; import pl.exsio.querydsl.entityql.QPathFactory; import pl.exsio.querydsl.entityql.QStaticModel; import pl.exsio.querydsl.entityql.jpa.entity.JBook; -import java.math.BigDecimal; -import java.util.Arrays; - /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QJBook extends QStaticModel { + private static final long serialVersionUID = 1595067359; + public static final QJBook INSTANCE = new QJBook(); + public static final QJBook qJBook = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJCompositeFk.java b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJCompositeFk.java index f421b91..497740a 100644 --- a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJCompositeFk.java +++ b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJCompositeFk.java @@ -5,6 +5,8 @@ import com.querydsl.core.types.dsl.StringPath; import com.querydsl.sql.ForeignKey; import com.querydsl.sql.PrimaryKey; +import java.util.Arrays; +import javax.annotation.Generated; import pl.exsio.querydsl.entityql.QColumnMetadataFactory; import pl.exsio.querydsl.entityql.QPathConfig; import pl.exsio.querydsl.entityql.QPathFactory; @@ -13,17 +15,20 @@ import pl.exsio.querydsl.entityql.jpa.entity.JCompositePk; import pl.exsio.querydsl.entityql.jpa.entity.JSingularPk; -import java.util.Arrays; - /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QJCompositeFk extends QStaticModel { + private static final long serialVersionUID = 594020407; + public static final QJCompositeFk INSTANCE = new QJCompositeFk(); + public static final QJCompositeFk qJCompositeFk = INSTANCE; + public final NumberPath id; public final StringPath desc; diff --git a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJCompositePk.java b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJCompositePk.java index 5cc9055..ebf1428 100644 --- a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJCompositePk.java +++ b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJCompositePk.java @@ -5,6 +5,8 @@ import com.querydsl.core.types.dsl.StringPath; import com.querydsl.sql.ForeignKey; import com.querydsl.sql.PrimaryKey; +import java.util.Arrays; +import javax.annotation.Generated; import pl.exsio.querydsl.entityql.QColumnMetadataFactory; import pl.exsio.querydsl.entityql.QPathConfig; import pl.exsio.querydsl.entityql.QPathFactory; @@ -12,17 +14,20 @@ import pl.exsio.querydsl.entityql.jpa.entity.JCompositeFk; import pl.exsio.querydsl.entityql.jpa.entity.JCompositePk; -import java.util.Arrays; - /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QJCompositePk extends QStaticModel { + private static final long serialVersionUID = -1372227420; + public static final QJCompositePk INSTANCE = new QJCompositePk(); + public static final QJCompositePk qJCompositePk = INSTANCE; + public final NumberPath id1; public final StringPath id2; diff --git a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJGroup.java b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJGroup.java index fffc5fa..e4e230f 100644 --- a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJGroup.java +++ b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJGroup.java @@ -5,6 +5,8 @@ import com.querydsl.core.types.dsl.StringPath; import com.querydsl.sql.ForeignKey; import com.querydsl.sql.PrimaryKey; +import java.util.Arrays; +import javax.annotation.Generated; import pl.exsio.querydsl.entityql.QColumnMetadataFactory; import pl.exsio.querydsl.entityql.QPathConfig; import pl.exsio.querydsl.entityql.QPathFactory; @@ -12,17 +14,20 @@ import pl.exsio.querydsl.entityql.jpa.entity.JGroup; import pl.exsio.querydsl.entityql.jpa.entity.JGroupAdmin; -import java.util.Arrays; - /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QJGroup extends QStaticModel { + private static final long serialVersionUID = 1844673376; + public static final QJGroup INSTANCE = new QJGroup(); + public static final QJGroup qJGroup = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJGroupAdmin.java b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJGroupAdmin.java index e986e60..3d399a3 100644 --- a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJGroupAdmin.java +++ b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJGroupAdmin.java @@ -4,23 +4,28 @@ import com.querydsl.core.types.dsl.NumberPath; import com.querydsl.core.types.dsl.StringPath; import com.querydsl.sql.PrimaryKey; +import java.util.Arrays; +import javax.annotation.Generated; import pl.exsio.querydsl.entityql.QColumnMetadataFactory; import pl.exsio.querydsl.entityql.QPathConfig; import pl.exsio.querydsl.entityql.QPathFactory; import pl.exsio.querydsl.entityql.QStaticModel; import pl.exsio.querydsl.entityql.jpa.entity.JGroupAdmin; -import java.util.Arrays; - /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QJGroupAdmin extends QStaticModel { + private static final long serialVersionUID = -1049580923; + public static final QJGroupAdmin INSTANCE = new QJGroupAdmin(); + public static final QJGroupAdmin qJGroupAdmin = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJOrder.java b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJOrder.java index 12aa3d0..806fffe 100644 --- a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJOrder.java +++ b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJOrder.java @@ -4,6 +4,8 @@ import com.querydsl.core.types.dsl.NumberPath; import com.querydsl.sql.ForeignKey; import com.querydsl.sql.PrimaryKey; +import java.util.Arrays; +import javax.annotation.Generated; import pl.exsio.querydsl.entityql.QColumnMetadataFactory; import pl.exsio.querydsl.entityql.QPathConfig; import pl.exsio.querydsl.entityql.QPathFactory; @@ -12,17 +14,20 @@ import pl.exsio.querydsl.entityql.jpa.entity.JOrderItem; import pl.exsio.querydsl.entityql.jpa.entity.JUser; -import java.util.Arrays; - /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QJOrder extends QStaticModel { + private static final long serialVersionUID = 1021087534; + public static final QJOrder INSTANCE = new QJOrder(); + public static final QJOrder qJOrder = INSTANCE; + public final NumberPath id; public final NumberPath userId; diff --git a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJOrderItem.java b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJOrderItem.java index 9306e59..f17bb99 100644 --- a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJOrderItem.java +++ b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJOrderItem.java @@ -4,6 +4,8 @@ import com.querydsl.core.types.dsl.NumberPath; import com.querydsl.sql.ForeignKey; import com.querydsl.sql.PrimaryKey; +import java.util.Arrays; +import javax.annotation.Generated; import pl.exsio.querydsl.entityql.QColumnMetadataFactory; import pl.exsio.querydsl.entityql.QPathConfig; import pl.exsio.querydsl.entityql.QPathFactory; @@ -12,17 +14,20 @@ import pl.exsio.querydsl.entityql.jpa.entity.JOrder; import pl.exsio.querydsl.entityql.jpa.entity.JOrderItem; -import java.util.Arrays; - /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QJOrderItem extends QStaticModel { + private static final long serialVersionUID = 673930422; + public static final QJOrderItem INSTANCE = new QJOrderItem(); + public static final QJOrderItem qJOrderItem = INSTANCE; + public final NumberPath id; public final NumberPath quantity; diff --git a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJSingularPk.java b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJSingularPk.java index 56b7768..de3da3b 100644 --- a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJSingularPk.java +++ b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJSingularPk.java @@ -5,6 +5,8 @@ import com.querydsl.core.types.dsl.StringPath; import com.querydsl.sql.ForeignKey; import com.querydsl.sql.PrimaryKey; +import java.util.Arrays; +import javax.annotation.Generated; import pl.exsio.querydsl.entityql.QColumnMetadataFactory; import pl.exsio.querydsl.entityql.QPathConfig; import pl.exsio.querydsl.entityql.QPathFactory; @@ -12,17 +14,20 @@ import pl.exsio.querydsl.entityql.jpa.entity.JCompositeFk; import pl.exsio.querydsl.entityql.jpa.entity.JSingularPk; -import java.util.Arrays; - /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QJSingularPk extends QStaticModel { + private static final long serialVersionUID = -1372227420; + public static final QJSingularPk INSTANCE = new QJSingularPk(); + public static final QJSingularPk qJSingularPk = INSTANCE; + public final NumberPath id1; public final StringPath id2; diff --git a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUploadedFile.java b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUploadedFile.java index 9711569..865dba4 100644 --- a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUploadedFile.java +++ b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUploadedFile.java @@ -3,6 +3,10 @@ import com.querydsl.core.types.Path; import com.querydsl.core.types.dsl.ArrayPath; import com.querydsl.sql.PrimaryKey; +import java.lang.reflect.Array; +import java.util.Arrays; +import java.util.UUID; +import javax.annotation.Generated; import pl.exsio.querydsl.entityql.QColumnMetadataFactory; import pl.exsio.querydsl.entityql.QPathConfig; import pl.exsio.querydsl.entityql.QPathFactory; @@ -10,19 +14,20 @@ import pl.exsio.querydsl.entityql.jpa.entity.JUploadedFile; import pl.exsio.querydsl.entityql.path.QUuidPath; -import java.lang.reflect.Array; -import java.util.Arrays; -import java.util.UUID; - /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QJUploadedFile extends QStaticModel { + private static final long serialVersionUID = -1335667740; + public static final QJUploadedFile INSTANCE = new QJUploadedFile(); + public static final QJUploadedFile qJUploadedFile = INSTANCE; + public final QUuidPath id; public final ArrayPath data; diff --git a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUser.java b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUser.java index 87c8715..073d9cc 100644 --- a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUser.java +++ b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUser.java @@ -5,6 +5,9 @@ import com.querydsl.core.types.dsl.StringPath; import com.querydsl.sql.ForeignKey; import com.querydsl.sql.PrimaryKey; +import java.util.Arrays; +import java.util.Date; +import javax.annotation.Generated; import pl.exsio.querydsl.entityql.QColumnMetadataFactory; import pl.exsio.querydsl.entityql.QPathConfig; import pl.exsio.querydsl.entityql.QPathFactory; @@ -15,18 +18,20 @@ import pl.exsio.querydsl.entityql.path.QEnumPath; import pl.exsio.querydsl.entityql.path.QObjectPath; -import java.util.Arrays; -import java.util.Date; - /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QJUser extends QStaticModel { + private static final long serialVersionUID = -417680394; + public static final QJUser INSTANCE = new QJUser(); + public static final QJUser qJUser = INSTANCE; + public final NumberPath id; public final StringPath name; diff --git a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUserGroup.java b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUserGroup.java index 81c6119..763eb2a 100644 --- a/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUserGroup.java +++ b/src/test/java/pl/exsio/querydsl/entityql/jpa/entity/generated/QJUserGroup.java @@ -4,6 +4,8 @@ import com.querydsl.core.types.dsl.NumberPath; import com.querydsl.sql.ForeignKey; import com.querydsl.sql.PrimaryKey; +import java.util.Arrays; +import javax.annotation.Generated; import pl.exsio.querydsl.entityql.QColumnMetadataFactory; import pl.exsio.querydsl.entityql.QPathConfig; import pl.exsio.querydsl.entityql.QPathFactory; @@ -12,17 +14,20 @@ import pl.exsio.querydsl.entityql.jpa.entity.JUser; import pl.exsio.querydsl.entityql.jpa.entity.JUserGroup; -import java.util.Arrays; - /** * This class was generated by EntityQL (https://github.com/eXsio/querydsl-entityql). It is not * recommended to make any changes to this class. Any manual changes will be lost upon the next * class generation. */ +@Generated("pl.exsio.querydsl.entityql.QExporter") public final class QJUserGroup extends QStaticModel { + private static final long serialVersionUID = 1418974613; + public static final QJUserGroup INSTANCE = new QJUserGroup(); + public static final QJUserGroup qJUserGroup = INSTANCE; + public final NumberPath groupId; public final NumberPath userId;