[hibernate/hibernate-orm] 77d60e: HHH-10956 created test cases IdClass with partial ...
by jpyeron
Branch: refs/heads/5.4
Home: https://github.com/hibernate/hibernate-orm
Commit: 77d60e5d6eb24c59fce0ba526d58230351e0d203
https://github.com/hibernate/hibernate-orm/commit/77d60e5d6eb24c59fce0ba5...
Author: Jason Pyeron <jpyeron(a)pdinc.us>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
Log Message:
-----------
HHH-10956 created test cases IdClass with partial identifier generatiod, all marked @FailureExpected
Commit: 87cfe33b5c5c2399c79079ce9c8c764cab4119fb
https://github.com/hibernate/hibernate-orm/commit/87cfe33b5c5c2399c79079c...
Author: Jason Pyeron <jpyeron(a)pdinc.us>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
Log Message:
-----------
HHH-10956 fixed failed insertion with IdClass with partial identifier generation
* regression introduced by HHH-4848
* AbstractEntityTuplizer lines 179 and 311 formatting issues, preserved
* bug HHH-9662 blocks testing of Identity insertion
Commit: 8b7903dfc4a7833e4db29d24a0c28b36ebddb3a2
https://github.com/hibernate/hibernate-orm/commit/8b7903dfc4a7833e4db29d2...
Author: Jason Pyeron <jpyeron(a)pdinc.us>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
Log Message:
-----------
HHH-10956 added more complext tests with self referential FK
* known issue: HHH-13971, test marked as @Ignore
* added some output debugging to help developers review CI/CD logs
* 8 tests, 1 ignored, 0.745s duration
Commit: 013d528916a5bd161d1f9e5aff2676d2c29f0da0
https://github.com/hibernate/hibernate-orm/commit/013d528916a5bd161d1f9e5...
Author: Jason Pyeron <jpyeron(a)pdinc.us>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
Log Message:
-----------
HHH-10956 put one line if in {}
Commit: ed3f59b131c17cfcefb3a89654a851f22a5a7a42
https://github.com/hibernate/hibernate-orm/commit/ed3f59b131c17cfcefb3a89...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueTest.java
Log Message:
-----------
HHH-10956 Moved tests using GenerationType#IDENTITY into another class annotated with @RequiresDialectFeature(DialectChecks.SupportsIdentityColumns.class)
Commit: 38006d2dc71385ad200e1169cb76735b3ba23bf5
https://github.com/hibernate/hibernate-orm/commit/38006d2dc71385ad200e116...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueTest.java
Log Message:
-----------
HHH-10956 Add additional test
Commit: 2defb17157983307aae3b0bc84a1aa862c2d475f
https://github.com/hibernate/hibernate-orm/commit/2defb17157983307aae3b0b...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
Log Message:
-----------
HHH-10956 an exception has to thrown when the composite key is an association and its value is null
Commit: 340e50ec254aa7f4c2ef13776b76d29512b023fd
https://github.com/hibernate/hibernate-orm/commit/340e50ec254aa7f4c2ef137...
Author: Jason Pyeron <jpyeron(a)pdinc.us>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
Log Message:
-----------
HHH-10956 reduced runtime complexity, added Component.getProperty(int)
Component.getProperty(String) was looping and comparing, but we already now the position of the property
Compare: https://github.com/hibernate/hibernate-orm/compare/d2e2688f8907...340e50e...
4 years, 8 months
[hibernate/hibernate-orm] da2b24: HHH-10956 created test cases IdClass with partial ...
by jpyeron
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: da2b24b5989f06e6f441423fc3ce0ca531ae9ca8
https://github.com/hibernate/hibernate-orm/commit/da2b24b5989f06e6f441423...
Author: Jason Pyeron <jpyeron(a)pdinc.us>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
Log Message:
-----------
HHH-10956 created test cases IdClass with partial identifier generatiod, all marked @FailureExpected
Commit: e42fe94f65dba059cf7c2386c1d59db2dadb570f
https://github.com/hibernate/hibernate-orm/commit/e42fe94f65dba059cf7c238...
Author: Jason Pyeron <jpyeron(a)pdinc.us>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
Log Message:
-----------
HHH-10956 fixed failed insertion with IdClass with partial identifier generation
* regression introduced by HHH-4848
* AbstractEntityTuplizer lines 179 and 311 formatting issues, preserved
* bug HHH-9662 blocks testing of Identity insertion
Commit: e37a8da5686e5967ed6016f959a9cf82a8443e12
https://github.com/hibernate/hibernate-orm/commit/e37a8da5686e5967ed6016f...
Author: Jason Pyeron <jpyeron(a)pdinc.us>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
Log Message:
-----------
HHH-10956 added more complext tests with self referential FK
* known issue: HHH-13971, test marked as @Ignore
* added some output debugging to help developers review CI/CD logs
* 8 tests, 1 ignored, 0.745s duration
Commit: 42b38b60cf31c43cae3aa95227749f5d87327a74
https://github.com/hibernate/hibernate-orm/commit/42b38b60cf31c43cae3aa95...
Author: Jason Pyeron <jpyeron(a)pdinc.us>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
Log Message:
-----------
HHH-10956 put one line if in {}
Commit: cfcd2ac40fd0b83cfa9980cec1fbef882ba1b432
https://github.com/hibernate/hibernate-orm/commit/cfcd2ac40fd0b83cfa9980c...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
A hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueTest.java
Log Message:
-----------
HHH-10956 Moved tests using GenerationType#IDENTITY into another class annotated with @RequiresDialectFeature(DialectChecks.SupportsIdentityColumns.class)
Commit: 114e16f64fd85afb91a5f724cd872741663651a3
https://github.com/hibernate/hibernate-orm/commit/114e16f64fd85afb91a5f72...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueIdentityTest.java
M hibernate-core/src/test/java/org/hibernate/test/annotations/cid/CompositeIdFkGeneratedValueTest.java
Log Message:
-----------
HHH-10956 Add additional test
Commit: 2db3ce26436dd6a735f89e9e133c0aecb3ecd3dd
https://github.com/hibernate/hibernate-orm/commit/2db3ce26436dd6a735f89e9...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
Log Message:
-----------
HHH-10956 an exception has to thrown when the composite key is an association and its value is null
Commit: 0804de87b42e7a1a7284da8914b9c8ffcad5dd09
https://github.com/hibernate/hibernate-orm/commit/0804de87b42e7a1a7284da8...
Author: Jason Pyeron <jpyeron(a)pdinc.us>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java
Log Message:
-----------
HHH-10956 reduced runtime complexity, added Component.getProperty(int)
Component.getProperty(String) was looping and comparing, but we already now the position of the property
Compare: https://github.com/hibernate/hibernate-orm/compare/58fe82e73069...0804de8...
4 years, 8 months
[hibernate/hibernate-search] b181cc: HSEARCH-1231 Add a dedicated step to configure @In...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: b181cc63ddbd95fc534bcff188456ab475dd0486
https://github.com/hibernate/hibernate-search/commit/b181cc63ddbd95fc534b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/mappingconfigurer/MySearchMappingConfigurer.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/dynamicmap/DynamicMapBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/mapping/definition/AnnotationMappingDiscoveryIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/MappedSuperclassIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/ProgrammaticMappingAccessTypeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/smoke/ProgrammaticMappingSmokeIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/lifecycle/CleanupIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedEmbeddedBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/smoke/ProgrammaticMappingSmokeIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/spatial/ProgrammaticMappingGeoPointBindingIT.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/processing/impl/IndexedProcessor.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/TypeMappingIndexedStep.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/TypeMappingStep.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/IndexedMetadataContributor.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/TypeMappingIndexedStepImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/TypeMappingStepImpl.java
Log Message:
-----------
HSEARCH-1231 Add a dedicated step to configure @Indexed in the programmatic mapping API
It's going to get more complex.
Commit: 5af49daa3d4d247ff74b75fc7ad5328472663423
https://github.com/hibernate/hibernate-search/commit/5af49daa3d4d247ff74b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/logging/impl/Log.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/logging/spi/OptionalEmptyAsDefaultFormatter.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/building/impl/PojoMapper.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/TypeMappingIndexedStepImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/building/impl/PojoIndexedTypeAdditionalMetadataBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/building/impl/PojoTypeAdditionalMetadataBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/building/spi/PojoAdditionalMetadataCollectorIndexedTypeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/building/spi/PojoAdditionalMetadataCollectorTypeNode.java
Log Message:
-----------
HSEARCH-1231 @Indexed inheritance
Commit: d0b19acfcf72bcb843595d1b0f011a3f8a0909c1
https://github.com/hibernate/hibernate-search/commit/d0b19acfcf72bcb84359...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedIT.java
Log Message:
-----------
HSEARCH-1231 Test @Indexed inheritance
Commit: e22ef92c5a0640764de4d95a1cb2d171ae3cd5ef
https://github.com/hibernate/hibernate-search/commit/e22ef92c5a0640764de4...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/Indexed.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/annotation/processing/impl/IndexedProcessor.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/TypeMappingIndexedStep.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/mapping/definition/programmatic/impl/TypeMappingIndexedStepImpl.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/building/impl/PojoIndexedTypeAdditionalMetadataBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/building/impl/PojoTypeAdditionalMetadataBuilder.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/building/spi/PojoAdditionalMetadataCollectorIndexedTypeNode.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/additionalmetadata/building/spi/PojoAdditionalMetadataCollectorTypeNode.java
Log Message:
-----------
HSEARCH-1231 @Indexed.enabled
To allow users to revert to the previous behavior,
where subclasses of an @Indexed class are not themselves
@Indexed.
Commit: 53becbf189a9a482e63cb2df23e7c688e67f0be1
https://github.com/hibernate/hibernate-search/commit/53becbf189a9a482e63c...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/definition/IndexedIT.java
Log Message:
-----------
HSEARCH-1231 Test @Indexed.enabled
Commit: 2a1a44f8b9972eaf7b33694bad969ea5c4bb3c9c
https://github.com/hibernate/hibernate-search/commit/2a1a44f8b9972eaf7b33...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Book.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Document.java
M integrationtest/showcase/library/src/main/java/org/hibernate/search/integrationtest/showcase/library/model/Video.java
Log Message:
-----------
HSEARCH-1231 Take into account the fact that @Indexed is inherited in the Library showcase
Commit: f383995bf1aad9e34dfdad9956ef879e5ebe7390
https://github.com/hibernate/hibernate-search/commit/f383995bf1aad9e34dfd...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-05-29 (Fri, 29 May 2020)
Changed paths:
M documentation/src/main/asciidoc/mapper-orm-mapping.asciidoc
Log Message:
-----------
HSEARCH-1231 Document @Indexed inheritance and @Indexed.enabled
Compare: https://github.com/hibernate/hibernate-search/compare/ba9e6b067bc1...f383...
4 years, 8 months