[hibernate/hibernate-orm] 677b98: minor bug fixes and code cleanups to Metamodel Gen...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 677b9848a20040c9917c2fb036d5effb595f8550
https://github.com/hibernate/hibernate-orm/commit/677b9848a20040c9917c2fb...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-06 (Thu, 06 Jul 2023)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ClassWriter.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/Context.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ImportContextImpl.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/JPAMetaModelEntityProcessor.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMeta.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaAttribute.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaMap.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaPackage.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/MetaAttributeGenerationVisitor.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/QueryMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/Constants.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/StringUtil.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/TypeUtils.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/ProcessorSessionFactory.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/Validation.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/ElementCollectionTypeUseTest.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/Homework.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/elementcollection/OfficeBuildingValidated.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/embeddable/generics/EmbeddableGenericsTest.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generictype/Generic.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/generictype/GenericEntityTest.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/util/CompilationStatement.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/Property.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/PropertyRepo.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/wildcard/WildcardTest.java
Log Message:
-----------
minor bug fixes and code cleanups to Metamodel Generator
1 year, 4 months
[hibernate/hibernate-orm] 41fe40: HHH-16866 remove usages of Sqm types from Jpa APIs
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 41fe405aa7e91485f3988ec092f41e3c2d45c627
https://github.com/hibernate/hibernate-orm/commit/41fe405aa7e91485f3988ec...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-07-06 (Thu, 06 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/criteria/HibernateCriteriaBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaDerivedJoin.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaManipulationCriteria.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaPath.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaSubQuery.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/spi/HibernateCriteriaBuilderDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/AbstractSqmDmlStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/SqmDmlStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/domain/SqmPath.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSubQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/update/SqmUpdateStatement.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/embeddables/generics/GenericEmbeddedIdentifierMappedSuperclassTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/embeddables/generics/GenericEmbeddedIdentifierTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/embeddables/generics/GenericEmbeddedPropertyMappedSuperclassTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/embeddables/generics/GenericEmbeddedPropertyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/generics/EmbeddedIdGenericsSuperclassTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/generics/GenericBasicValuedPathTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/generics/GenericMapAssociationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/generics/GenericToManyAssociationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/generics/GenericToOneAssociationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/generics/MappedSuperclassTemporalAccessorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/generics/MultipleEmbeddedGenericsTest.java
Log Message:
-----------
HHH-16866 remove usages of Sqm types from Jpa APIs
There were quite a few layer-breakers here.
The org.hibernate.criteria package is supposed to be an abstraction over
the SQM tree. It should not leak types from the org.hibernate.sqm package.
Commit: 98a83a082c30a025e3eb1faf458b83bfc6a45baa
https://github.com/hibernate/hibernate-orm/commit/98a83a082c30a025e3eb1fa...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-07-06 (Thu, 06 Jul 2023)
Changed paths:
R hibernate-core/src/main/java/org/hibernate/query/criteria/JpaDmlCriteria.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaInPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaMapJoin.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaPluralJoin.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaQueryGroup.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaQueryPart.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaQueryStructure.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaSelection.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaSetJoin.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/SqmDmlStatement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmQueryPart.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmQuerySpec.java
Log Message:
-----------
add lots @Override annotations and some generic type args in Jpa types
removed an unused and unimplemented interface
Commit: 980bf4d8ab7ac647d079764c5579d5788800404e
https://github.com/hibernate/hibernate-orm/commit/980bf4d8ab7ac647d079764...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-07-06 (Thu, 06 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaQueryGroup.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaQueryPart.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaQueryStructure.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmQueryGroup.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmQueryPart.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmQuerySpec.java
Log Message:
-----------
restrict offset/fetch to be a Number in the Jpa/Sqm tree types
Compare: https://github.com/hibernate/hibernate-orm/compare/f933b064e982...980bf4d...
1 year, 4 months
[hibernate/hibernate-orm] f933b0: HHH-16633 support new Order and Page objects as pa...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: f933b064e98293a2a72dfea520583613b0d19931
https://github.com/hibernate/hibernate-orm/commit/f933b064e98293a2a72dfea...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-06 (Thu, 06 Jul 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/processing/HQL.java
M hibernate-core/src/main/java/org/hibernate/annotations/processing/SQL.java
M hibernate-core/src/main/java/org/hibernate/query/Order.java
M hibernate-core/src/main/java/org/hibernate/query/Page.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/ImportContextImpl.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/QueryMethod.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Dao.java
Log Message:
-----------
HHH-16633 support new Order and Page objects as parameters of query methods
1 year, 4 months