[hibernate/hibernate-orm] 8c671d: minor
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 8c671d98d0fbb5729213a781b9c6d43563aa4eb6
https://github.com/hibernate/hibernate-orm/commit/8c671d98d0fbb5729213a78...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2019-12-11 (Wed, 11 Dec 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metadata/ClassMetadata.java
M hibernate-core/src/main/java/org/hibernate/metadata/CollectionMetadata.java
A hibernate-core/src/main/java/org/hibernate/metadata/package-info.java
R hibernate-core/src/main/java/org/hibernate/metadata/package.html
Log Message:
-----------
minor
Commit: 8600058784c82e99ba8d7f31387cfabd393bd4a2
https://github.com/hibernate/hibernate-orm/commit/8600058784c82e99ba8d7f3...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2019-12-12 (Thu, 12 Dec 2019)
Changed paths:
M hibernate-core/hibernate-core.gradle
R hibernate-core/src/main/antlr/order-by-render.g
R hibernate-core/src/main/antlr/order-by.g
A hibernate-core/src/main/antlr/org/hibernate/.gitignore
A hibernate-core/src/main/antlr/org/hibernate/grammars/ordering/OrderingLexer.g4
A hibernate-core/src/main/antlr/org/hibernate/grammars/ordering/OrderingParser.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/metadata/package-info.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/BasicValuedMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/BasicValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/CollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityDiscriminatorMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ManagedMappingType.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/MappingTypedModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractEntityDiscriminatorMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicValuedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicValuedSingularAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CollectionIdentifierDescriptorImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedIdentifierMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SimpleForeignKeyDescriptor.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/AliasResolver.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/OrderByFragmentTranslator.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/TranslationContext.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/CollectionSubPath.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/ColumnReference.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/DomainPath.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/FunctionExpression.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/Node.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/ParseTreeVisitor.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/PathConsumer.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/RootSequencePart.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/SequencePart.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/SortExpression.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/SortSpecification.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/SubDomainPath.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/ast/UnexpectedTokenException.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/ordering/package-info.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/HqlParseTreeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/StandardHqlTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/domain/BiDirectionalFetchImpl.java
M hibernate-core/src/main/java/org/hibernate/type/BasicType.java
Log Message:
-----------
HHH-13778: `@OrderBy` handling using SQL AST
- initial work - Antlr grammar, parse tree visitation and building OrderByFragment (translation) tree
- fixed bug in HQL parsing - was building an unnecessary HqlLexer instance
Compare: https://github.com/hibernate/hibernate-orm/compare/28c0b05d0f9a...8600058...
5 years, 1 month
[hibernate/hibernate-orm] 28c0b0: `org.hibernate.metamodel.RuntimeMetamodels`
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 28c0b05d0f9a823dd2e795854066950e988cc9ce
https://github.com/hibernate/hibernate-orm/commit/28c0b05d0f9a823dd2e7958...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2019-12-11 (Wed, 11 Dec 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryImplementor.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
A hibernate-core/src/main/java/org/hibernate/metamodel/MappingMetamodel.java
A hibernate-core/src/main/java/org/hibernate/metamodel/RuntimeMetamodels.java
M hibernate-core/src/main/java/org/hibernate/metamodel/ValueClassification.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/MetadataContext.java
A hibernate-core/src/main/java/org/hibernate/metamodel/internal/RuntimeMetamodelsImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/StandardPojoEntityRepresentationStrategy.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableValuedModelPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/package-info.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/JpaMetamodel.java
R hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/DomainMetamodelImpl.java
A hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/MappingMetamodelImpl.java
R hibernate-core/src/main/java/org/hibernate/metamodel/spi/DomainMetamodel.java
M hibernate-core/src/main/java/org/hibernate/metamodel/spi/MetamodelImplementor.java
M hibernate-core/src/main/java/org/hibernate/metamodel/spi/RuntimeModelCreationContext.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/CollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/query/spi/AbstractQuery.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmMappingModelHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmUtil.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/TableBasedUpdateHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/internal/StandardSqmUpdateTranslator.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/SqlAstCreationContext.java
M hibernate-core/src/main/java/org/hibernate/type/spi/TypeConfiguration.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/criteria/QueryBuilderTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/intg/sqm/HqlTranslationNoFactoryTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/loading/MappedFetchTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/metamodel/mapping/collections/PluralAttributeMappingTests.java
M hibernate-core/src/test/java/org/hibernate/test/jpa/EntityManagerUnwrapTest.java
Log Message:
-----------
`org.hibernate.metamodel.RuntimeMetamodels`
5 years, 1 month
[hibernate/hibernate-orm] 31913e: Add tests for AttributeOverride
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 31913eaeeab47daa900879f78c7ef95de0ac4987
https://github.com/hibernate/hibernate-orm/commit/31913eaeeab47daa900879f...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2019-12-11 (Wed, 11 Dec 2019)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/attributeoverride/AttributeOverrideTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/attributeoverride/inheritance/MappedSuperclassTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/attributeoverride/inheritance/TablePerClassTest.java
Log Message:
-----------
Add tests for AttributeOverride
Commit: 3eed21813585314b4c79c089ba653c699bbe9c12
https://github.com/hibernate/hibernate-orm/commit/3eed21813585314b4c79c08...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2019-12-11 (Wed, 11 Dec 2019)
Changed paths:
R hibernate-core/src/test/java/org/hibernate/jpa/test/jointable/Address.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/jointable/ManyToOneJoinTableTest.java
R hibernate-core/src/test/java/org/hibernate/jpa/test/jointable/Person.java
M hibernate-core/src/test/java/org/hibernate/orm/test/attributeoverride/inheritance/TablePerClassTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/jointable/Address.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/jointable/ManyToOneJoinTableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/jpa/jointable/Person.java
M hibernate-core/src/test/java/org/hibernate/orm/test/loading/multiLoad/MultiLoadTest.java
Log Message:
-----------
HHH-13769: Avoid unnecessary joins test
Compare: https://github.com/hibernate/hibernate-orm/compare/996157fca187...3eed218...
5 years, 1 month
[hibernate/hibernate-orm] 996157: HHH-13769: Avoid unnecessary joins
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 996157fca18799c9a56feb809149475324313534
https://github.com/hibernate/hibernate-orm/commit/996157fca18799c9a56feb8...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2019-12-10 (Tue, 10 Dec 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EntityMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedIdentifierMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SingularAssociationAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/CollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/OneToManyPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/TableGroupProducer.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/TableReferenceCollector.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/TableReferenceContributor.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/TableReferenceJoinPredicateProducer.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/ejb3configuration/PersisterClassProviderTest.java
M hibernate-core/src/test/java/org/hibernate/test/cfg/persister/GoofyPersisterClassProvider.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/CustomPersister.java
Log Message:
-----------
HHH-13769: Avoid unnecessary joins
better support for lazy TableReference handling for collections;
removed TableReferenceCollector and TableReferenceContributor
5 years, 1 month
[hibernate/hibernate-orm] dcbef8: HHH-13769: Avoid unnecessary joins
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: dcbef8705c09d10f4b066384765bd4470427dd00
https://github.com/hibernate/hibernate-orm/commit/dcbef8705c09d10f4b06638...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2019-12-10 (Tue, 10 Dec 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/CollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/BasicValuedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CollectionIdentifierDescriptorImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityCollectionPart.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationProcess.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/PluralAttributeMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SingularAssociationAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/BasicCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/OneToManyPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/ExecuteWithIdTableHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/idtable/ExecuteWithoutIdTableHelper.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/cte/CteTable.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/StandardTableGroup.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/TableGroupBuilder.java
Log Message:
-----------
HHH-13769: Avoid unnecessary joins
better support for lazy TableReference handling for collections
5 years, 1 month
[hibernate/hibernate-orm] 136384: Implement support for @Embeddable with ToMany and ...
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 1363844ca02a96c59cb7ce765d41d45abddc0646
https://github.com/hibernate/hibernate-orm/commit/1363844ca02a96c59cb7ce7...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2019-12-10 (Tue, 10 Dec 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/EmbeddableMappingType.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddedAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SingularAssociationAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/embeddable/AbstractEmbeddableInitializer.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/Addr.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/Address.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/AssociationOverrideSchemaTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/AssociationOverrideTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/AttributeOverrideTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/BlogEntry.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/ContactInfo.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/Employee.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/Entry.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/InheritedAttributeOverridingTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/Location.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/Move.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/PhoneNumber.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/PropertyInfo.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/PropertyRecord.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/SocialSite.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/SocialTouchPoints.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/override/Trip.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/Addr.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/Address.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/AssociationOverrideSchemaTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/AssociationOverrideTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/AttributeOverrideTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/BlogEntry.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/ContactInfo.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/Employee.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/Entry.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/InheritedAttributeOverridingTest.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/Location.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/Move.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/PhoneNumber.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/PropertyInfo.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/PropertyRecord.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/SocialSite.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/SocialTouchPoints.java
R hibernate-core/src/test/java/org/hibernate/test/annotations/override/Trip.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/SessionFactoryExtension.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/SessionFactoryScope.java
Log Message:
-----------
Implement support for @Embeddable with ToMany and ToOne
Commit: becbaea1720163c6d8568881a5a5328c2ce79f25
https://github.com/hibernate/hibernate-orm/commit/becbaea1720163c6d856888...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2019-12-10 (Tue, 10 Dec 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/MappingModelCreationHelper.java
Log Message:
-----------
Fix Could not resolve binding for Foreign Key for TableReference name with schema
Compare: https://github.com/hibernate/hibernate-orm/compare/3be2369110c7...becbaea...
5 years, 1 month