[hibernate/hibernate-orm] 854a98: HHH-18758 Add json_table() set-returning function
by Christian Beikov
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 854a98292775ba328dd8c2672eeef53e1c04d364
https://github.com/hibernate/hibernate-orm/commit/854a98292775ba328dd8c26...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/query/hql/QueryLanguage.adoc
A documentation/src/main/asciidoc/userguide/chapters/query/hql/extras/json_table_bnf.txt
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CockroachLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/H2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/HANALegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MariaDBLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/OracleLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/PostgreSQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLServerLegacyDialect.java
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleJsonJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/aggregate/AggregateSupport.java
M hibernate-core/src/main/java/org/hibernate/dialect/aggregate/AggregateSupportImpl.java
M hibernate-core/src/main/java/org/hibernate/dialect/aggregate/DB2AggregateSupport.java
M hibernate-core/src/main/java/org/hibernate/dialect/aggregate/OracleAggregateSupport.java
M hibernate-core/src/main/java/org/hibernate/dialect/aggregate/PostgreSQLAggregateSupport.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CteGenerateSeriesFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/H2GenerateSeriesFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/HANAGenerateSeriesFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/SQLServerGenerateSeriesFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/SybaseASEGenerateSeriesFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/array/H2UnnestFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/array/HANAUnnestFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/array/SQLServerUnnestFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/CastTargetReturnTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/CockroachDBJsonExistsFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/CockroachDBJsonQueryFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/CockroachDBJsonTableFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/CockroachDBJsonValueFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/DB2JsonTableFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/DB2JsonValueFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/H2JsonQueryFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/H2JsonTableFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/H2JsonValueFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/HANAJsonTableFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/HANAJsonValueFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/JsonArrayFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/JsonPathHelper.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/JsonTableFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/JsonTableSetReturningFunctionTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/JsonValueFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/MariaDBJsonValueFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/MySQLJsonTableFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/MySQLJsonValueFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/OracleJsonArrayFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/OracleJsonObjectFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/OracleJsonTableFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/OracleJsonValueFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/PostgreSQLJsonExistsFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/PostgreSQLJsonQueryFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/PostgreSQLJsonTableFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/PostgreSQLJsonValueFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/json/SQLServerJsonTableFunction.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/HibernateCriteriaBuilder.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaCastTarget.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaJsonExistsExpression.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaJsonExistsNode.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaJsonQueryExpression.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaJsonQueryNode.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaJsonTableColumnsNode.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaJsonTableFunction.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaJsonValueExpression.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaJsonValueNode.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/spi/HibernateCriteriaBuilderDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/NodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/function/AbstractSqmSelfRenderingSetReturningFunctionDescriptor.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/function/SelfRenderingSqmSetReturningFunction.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/expression/SqmCastTarget.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmJsonTableFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmSetReturningFunction.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/JsonTableColumnDefinition.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/JsonTableColumnsClause.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/JsonTableErrorBehavior.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/JsonTableExistsColumnDefinition.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/JsonTableNestedColumnDefinition.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/JsonTableOrdinalityColumnDefinition.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/JsonTableQueryColumnDefinition.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/JsonTableValueColumnDefinition.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/OracleJsonBlobJdbcType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/function/json/JsonTableTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/JsonFunctionTests.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
M release-announcement.adoc
Log Message:
-----------
HHH-18758 Add json_table() set-returning function
Commit: e1a8990358115baa83cf6721f4505510c308f3f1
https://github.com/hibernate/hibernate-orm/commit/e1a8990358115baa83cf672...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/query/hql/QueryLanguage.adoc
A documentation/src/main/asciidoc/userguide/chapters/query/hql/extras/xmltable_bnf.txt
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/HANALegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/OracleLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/PostgreSQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLServerLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseASELegacyDialect.java
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/array/HANAUnnestFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/json/OracleJsonValueFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/xml/DB2XmlTableFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/xml/HANAXmlTableFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/xml/OracleXmlTableFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/xml/SQLServerXmlTableFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/xml/SybaseASEXmlTableFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/xml/XmlTableFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/xml/XmlTableSetReturningFunctionTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/HibernateCriteriaBuilder.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaXmlTableColumnNode.java
A hibernate-core/src/main/java/org/hibernate/query/criteria/JpaXmlTableFunction.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/spi/HibernateCriteriaBuilderDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/NodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/internal/SqmCriteriaNodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/StandardFunctionArgumentTypeResolvers.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmXmlTableFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/spi/AbstractSqlAstTranslator.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/XmlTableColumnDefinition.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/XmlTableColumnsClause.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/XmlTableOrdinalityColumnDefinition.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/XmlTableQueryColumnDefinition.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/XmlTableValueColumnDefinition.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/XmlArrayJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/XmlJdbcType.java
A hibernate-core/src/test/java/org/hibernate/orm/test/function/xml/XmlTableTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
M release-announcement.adoc
Log Message:
-----------
HHH-18759 Add xmltable() set-returning function
Compare: https://github.com/hibernate/hibernate-orm/compare/3deb8a546713...e1a8990...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
1 month, 1 week
[hibernate/hibernate-orm] 65bc73: use switch expressions in isWider() impls
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 65bc730cc152d86325cdc35b15bbdc06376080d5
https://github.com/hibernate/hibernate-orm/commit/65bc730cc152d86325cdc35...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigDecimalJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigIntegerJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarDateJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DateJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoubleJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcTimestampJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringJavaType.java
Log Message:
-----------
use switch expressions in isWider() impls
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 26988dd536d90b92510db8f0da0e6e94008b98c5
https://github.com/hibernate/hibernate-orm/commit/26988dd536d90b92510db8f...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigDecimalJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigIntegerJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BlobJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClassJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CurrencyJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DurationJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/EnumJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/InstantJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalDateTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocalTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/OffsetDateTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/OffsetTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/UrlJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/YearJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZoneIdJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZoneOffsetJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZonedDateTimeJavaType.java
Log Message:
-----------
start using flow typing in the JavaTypes
- but definitely not done with this
squash
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 2924fe887517b762f675554b18a049c83c46ffb5
https://github.com/hibernate/hibernate-orm/commit/2924fe887517b762f675554...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaType.java
Log Message:
-----------
treat an empty string as a null character in CharacterJavaType conversion
an empty string should not be converted to a space char
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 16a15ea6ac329b70d8fb1efb232143a032bf0f32
https://github.com/hibernate/hibernate-orm/commit/16a15ea6ac329b70d8fb1ef...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ByteArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DataHelper.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoublePrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerPrimitiveArrayJavaType.java
R hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LobStreamDataHelper.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/NClobJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/PrimitiveByteArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/SerializableJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/spi/BasicCollectionJavaType.java
Log Message:
-----------
cleanups in descriptor.java package
- delete a duplicate class
- fix some incorrect usage of that class
- continue using more flow typing
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 7df56daddad2a76bf033e9c9434614bd46129677
https://github.com/hibernate/hibernate-orm/commit/7df56daddad2a76bf033e9c...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BasicJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BlobJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BooleanPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ByteArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ByteJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarDateJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CalendarTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClobJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DateJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoubleJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoublePrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/InetAddressJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcDateJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcTimeJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/JdbcTimestampJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LocaleJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/NClobJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ObjectArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/PrimitiveByteArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/PrimitiveCharacterArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ShortPrimitiveArrayJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/UrlJavaType.java
Log Message:
-----------
more work on flow typing in the JavaTypes
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 920d4bce44eca5a702291efda220cc4c27b91202
https://github.com/hibernate/hibernate-orm/commit/920d4bce44eca5a702291ef...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CoercionException.java
Log Message:
-----------
throw CoercionException when CharacterJavaType receives a string of wrong length
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: ddc2b36bbe58bbbbe1629a64eba80dc8333ba923
https://github.com/hibernate/hibernate-orm/commit/ddc2b36bbe58bbbbe1629a6...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
Log Message:
-----------
disable a test on MySQL
MySQL cast() doesn't do truncation, this never worked properly
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 08f25cf8d9ce320e64ee582cc6de56d15bd48ea2
https://github.com/hibernate/hibernate-orm/commit/08f25cf8d9ce320e64ee582...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigDecimalJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/BigIntegerJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/DoubleJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/FloatJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/IntegerJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/LongJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/StringJavaType.java
Log Message:
-----------
spotless changes
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 3c793c7a30ee47cde178089b8ef8fc3c72929099
https://github.com/hibernate/hibernate-orm/commit/3c793c7a30ee47cde178089...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/function/CastFunction.java
Log Message:
-----------
inline a redundant variable
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: a389f771bf86f6fb7b03da53871af0ae764cc282
https://github.com/hibernate/hibernate-orm/commit/a389f771bf86f6fb7b03da5...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
Log Message:
-----------
avoid use of char(n) types on MySQL
MySQL strips trailing space characters from char(n) columns,
which is very bad, because we use char(1) for storing Java
char values.
We can sort-of compensate for this in CharacterJavaType,
but it's ugly and fragile to do it that way.
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 633f1012e196e3adb25a2f9c637a422d54ab8fbe
https://github.com/hibernate/hibernate-orm/commit/633f1012e196e3adb25a2f9...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/CharacterJavaType.java
Log Message:
-----------
recover previous workaround for problem with MySQL char(n) type
This is needed to remain compatible with schemas we produced in the past,
even though we're nor preferring varchar(1) for storing Java char.
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: eb6f7a07744442fa5d4f090cc1ecaa1b4d6415ea
https://github.com/hibernate/hibernate-orm/commit/eb6f7a07744442fa5d4f090...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ClassJavaType.java
Log Message:
-----------
add missing @Override annotations
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 3deb8a546713618cf2933cecf41edaf4163b8cba
https://github.com/hibernate/hibernate-orm/commit/3deb8a546713618cf2933ce...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
Log Message:
-----------
Sybase also strips trailing spaces
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-orm/compare/d6e85b0a4451...3deb8a5...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
1 month, 1 week
[hibernate/hibernate-search] b01658: HSEARCH-5082 Upgrade to Hibernate ORM 7.0
by Marko Bekhta
Branch: refs/heads/wip/main/dependency-update/orm7
Home: https://github.com/hibernate/hibernate-search
Commit: b01658a1691a313c311143444bb82349816fa093
https://github.com/hibernate/hibernate-search/commit/b01658a1691a313c3111...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/search/query/impl/ElasticsearchSearchQueryImpl.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearchQueryImpl.java
M build/parents/build/pom.xml
M engine/src/main/java/org/hibernate/search/engine/search/query/spi/SearchQueryImplementor.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/cluster/impl/OutboxPollingAgentAdditionalJaxbMappingProducer.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/event/impl/OutboxPollingOutboxEventAdditionalJaxbMappingProducer.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/logging/impl/JaxbEntityMappingsFormatter.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/logging/impl/Log.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/mapping/impl/AdditionalMappingBuilder.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/mapping/impl/JaxbMappingHelper.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchCompositeMappingProducer.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/spi/HibernateSearchOrmMappingProducer.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/query/impl/StubSearchQuery.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/search/query/impl/StubSearchWork.java
M v5migrationhelper/engine/src/main/java/org/hibernate/search/query/engine/impl/HSQueryImpl.java
M v5migrationhelper/engine/src/main/java/org/hibernate/search/query/engine/spi/HSQuery.java
M v5migrationhelper/orm/src/main/java/org/hibernate/search/query/hibernate/impl/FullTextQueryImpl.java
Log Message:
-----------
HSEARCH-5082 Upgrade to Hibernate ORM 7.0
Commit: fa68a3e25001ba43b35d633c3f251ca6d6327074
https://github.com/hibernate/hibernate-search/commit/fa68a3e25001ba43b35d...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/mapping/impl/AdditionalMappingBuilder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQueryAdapter.java
Log Message:
-----------
HSEARCH-5082 WIP-clarify: Upgrade to Hibernate ORM 7.0
Commit: 898811e373f058d328b47facdc1ff1ce0d125113
https://github.com/hibernate/hibernate-search/commit/898811e373f058d328b4...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M build/config/pom.xml
M build/config/src/main/resources/forbidden-public.txt
M integrationtest/mapper/orm-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/outboxpolling/schema/OutboxPollingCustomEntityMappingIT.java
M integrationtest/mapper/orm-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/outboxpolling/testsupport/util/OutboxPollingTestUtils.java
M integrationtest/mapper/orm-realbackend/src/test/java/org/hibernate/search/integrationtest/mapper/orm/realbackend/limitations/ConcurrentEmbeddedUpdateLimitationIT.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/cfg/spi/HibernateOrmMapperOutboxPollingSpiSettings.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/cluster/impl/DefaultAgentRepository.java
R mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/cluster/impl/OutboxPollingAgentAdditionalJaxbMappingProducer.java
A mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/cluster/impl/OutboxPollingAgentAdditionalMappingProducer.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/event/impl/DefaultOutboxEventFinder.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/event/impl/OutboxEventLoader.java
R mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/event/impl/OutboxPollingOutboxEventAdditionalJaxbMappingProducer.java
A mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/event/impl/OutboxPollingOutboxEventAdditionalMappingProducer.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/impl/OutboxPollingCoordinationStrategy.java
A mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/logging/impl/ClassDetailsMappingsFormatter.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/logging/impl/Log.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/mapping/impl/AdditionalMappingBuilder.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/mapping/impl/OutboxPollingSearchMappingImpl.java
M mapper/orm/pom.xml
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchCompositeMappingProducer.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/spi/HibernateSearchOrmMappingProducer.java
Log Message:
-----------
HSEARCH-5082 Switch to new ClassDetails API for outbox polling entities
Commit: b9d44e1fef91304336363931800e0835116f831f
https://github.com/hibernate/hibernate-search/commit/b9d44e1fef9130433636...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M mapper/orm/pom.xml
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmIntegrationBooterImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchPreIntegrationService.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingInitiator.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmBootstrapIntrospector.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmClassPropertyModel.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmClassRawTypeModel.java
M mapper/orm/src/test/java/org/hibernate/search/mapper/orm/model/impl/AbstractHibernateOrmBootstrapIntrospectorPerReflectionStrategyTest.java
M mapper/pojo-base/pom.xml
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/AbstractPojoModelsBootstrapIntrospector.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/AbstractPojoModelsPropertyModel.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/AbstractPojoModelsRawTypeModel.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/PojoModelsClassOrdering.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/PojoModelsConstructorModel.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/PojoModelsGenericContextHelper.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/PojoModelsMethodParameterModel.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/PojoSimpleModelsPropertyModel.java
A mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/PojoSimpleModelsRawTypeModel.java
Log Message:
-----------
HSEARCH-5082 Use Hibernate Models instead of HCANN in the ORM mapper
Commit: d2fabf420886746e5920a103e2b46c8c7633a9d4
https://github.com/hibernate/hibernate-search/commit/d2fabf420886746e5920...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/annotation/processing/CustomPropertyMappingAnnotationBaseIT.java
M integrationtest/mapper/pojo-base/src/test/java/org/hibernate/search/integrationtest/mapper/pojo/mapping/annotation/processing/CustomTypeMappingAnnotationBaseIT.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/AbstractPojoModelsBootstrapIntrospector.java
M mapper/pojo-base/src/test/java/org/hibernate/search/mapper/pojo/testsupport/TestIntrospector.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/bootstrap/impl/StandalonePojoIntegrationBooterImpl.java
M mapper/pojo-standalone/src/main/java/org/hibernate/search/mapper/pojo/standalone/model/impl/StandalonePojoBootstrapIntrospector.java
Log Message:
-----------
HSEARCH-5082 Use Hibernate Models instead of HCANN in the Standalone POJO mapper
Commit: 9e1febef98c9a05869acf4ee68c584307cf6181e
https://github.com/hibernate/hibernate-search/commit/9e1febef98c9a05869ac...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M build/config/src/main/resources/forbidden-internal.txt
M mapper/pojo-base/pom.xml
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/AbstractPojoHCAnnBootstrapIntrospector.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/AbstractPojoHCAnnPropertyModel.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/AbstractPojoHCAnnRawTypeModel.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/PojoCommonsAnnotationsHelper.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/PojoHCAnnConstructorModel.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/PojoHCAnnMethodParameterModel.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/PojoHCannOrmGenericContextHelper.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/PojoSimpleHCAnnPropertyModel.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/PojoSimpleHCAnnRawTypeModel.java
R mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/hcann/spi/PojoXClassOrdering.java
Log Message:
-----------
HSEARCH-5082 Remove remaining usages of commons-annotations
Commit: 0679fd9796a0306872b0e29feffc125a7cf3baad
https://github.com/hibernate/hibernate-search/commit/0679fd9796a0306872b0...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/mapping/impl/AdditionalMappingBuilder.java
Log Message:
-----------
HSEARCH-5082 Update mapping builder with new syntax
Commit: 5776214e12b8e7b26f1e45623832427b4010b1be
https://github.com/hibernate/hibernate-search/commit/5776214e12b8e7b26f1e...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/model/impl/HibernateOrmDynamicMapRawTypeModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/AbstractPojoModelsBootstrapIntrospector.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/AbstractPojoModelsPropertyModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/AbstractPojoModelsRawTypeModel.java
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/spi/PojoRawTypeModel.java
Log Message:
-----------
HSEARCH-5082 Use new hibernate-models APIs for working with annotations
Commit: 77bc451d8b66ed398fb31f7ef7ae16e883ebf27a
https://github.com/hibernate/hibernate-search/commit/77bc451d8b66ed398fb3...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/mapping/impl/AdditionalMappingBuilder.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
Log Message:
-----------
HSEARCH-5082 More updates to the mapping builder
- after the hibernate model changes around the mutable annotation usage
Commit: f08f7c908574feecd723e1412f474c1386c2f4dd
https://github.com/hibernate/hibernate-search/commit/f08f7c908574feecd723...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/Country.java
Log Message:
-----------
HSEARCH-5082 Replace removed annotations
Commit: f8b139a1048f26a8041198151f9308296868729a
https://github.com/hibernate/hibernate-search/commit/f8b139a1048f26a80411...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/batchindexing/DatabaseMultitenancyTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/EmbeddedTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/path/PathEmbeddedDepthTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/engine/worker/WorkerTestCase.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/event/update/DirtyCheckingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/fieldAccess/FieldAccessTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/proxy/ProxyTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/LuceneProjectionQueryTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/LuceneQueryTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/ProjectionQueryTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/QueryLoaderTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/explain/ExplanationTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/initandlookup/SecondLCAndPCLookupTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/initandlookup/StrictSecondLCAndPCLookupTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/session/MassIndexUsingManualFlushTest.java
Log Message:
-----------
HSEARCH-5082 Replace Session#delete
see https://hibernate.atlassian.net/browse/HHH-18428
Commit: 56fae8c1c31f15988f6d712a4b3b2dc021c4aa39
https://github.com/hibernate/hibernate-search/commit/56fae8c1c31f15988f6d...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingBasicIT.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/batchindexing/MassIndexerIndexedEmbeddedProxyTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/ContainedInEntityInheritanceTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/doubleinsert/DoubleInsertEmbeddedTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/fieldoncollection/FieldOnCollectionReindexTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/graph/RecursiveGraphTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/nested/containedIn/NestedContainedInTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/path/PathEmbeddedDepthTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/polymorphism/PolymorphicAssociationContainedInTargetTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/polymorphism/PolymorphicAssociationPropertyAccessTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/polymorphism/uninitializedproxy/SearchAfterUninitializedProxyEntityLoadingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/sorting/EmbeddedSortableIdFieldTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/sorting/Villain.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/update/ContainedInReindexPropagationTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/update/ContainedInWithoutIndexedEmbeddedReindexPropagationTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/engine/indexapi/PurgeTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/id/ExplicitIdTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/id/ImplicitIdTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/inheritance/InheritanceTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/proxy/ProxyTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/LuceneProjectionQueryTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/LuceneQueryTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/ProjectionQueryTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/QueryLoaderTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/QueryUnindexedEntityTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/facet/FacetUnknownFieldFailureTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/facet/ManyToOneFacetingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/facet/NullValuesFacetingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/facet/NumberFacetingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/facet/RangeFacetingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/facet/SimpleFacetingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/facet/StringFacetingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/facet/WebShopTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/nullValues/IndexAndQueryNullTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/sorting/SortTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/query/validation/QueryValidationTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/spatial/SpatialContainedInTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/spatial/SpatialIndexingTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/spatial/SpatialSearchSortByDistanceAndPagingTest.java
Log Message:
-----------
HSEARCH-5082 Replace Session#save/update etc
Commit: 62b95e7ff9c43371ac70edddf6a7502bdf27aafc
https://github.com/hibernate/hibernate-search/commit/62b95e7ff9c43371ac70...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/proxy/ContainedInTriggerUnnecessaryCollectionInitializationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/session/FlushClearEvictAllIT.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/proxy/Author.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/proxy/Book.java
Log Message:
-----------
HSEARCH-5082 Address more deprecation removals
Commit: e601d6cfe4aafde97767becd83056acdf1efe60a
https://github.com/hibernate/hibernate-search/commit/e601d6cfe4aafde97767...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M build/config/pom.xml
M build/parents/build/pom.xml
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/batchindexing/IndexingGeneratedCorpusTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/embedded/doubleinsert/DoubleInsertEmbeddedTest.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/engine/TransientFieldsDirtyTest.java
M mapper/orm-outbox-polling/src/main/java/org/hibernate/search/mapper/orm/outboxpolling/mapping/impl/AdditionalMappingBuilder.java
M mapper/orm/pom.xml
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
M mapper/pojo-base/pom.xml
M mapper/pojo-base/src/main/java/org/hibernate/search/mapper/pojo/model/models/spi/AbstractPojoModelsBootstrapIntrospector.java
Log Message:
-----------
HSEARCH-5082 Address ORM and Hibernate Models API changes
Commit: 0296c0574a2084835b417defcb214134a2434ae7
https://github.com/hibernate/hibernate-search/commit/0296c0574a2084835b41...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/session/AutomaticIndexingSessionFlushIT.java
M mapper/orm-jakarta-batch/core/src/main/java/org/hibernate/search/jakarta/batch/core/massindexing/step/impl/EntityWriter.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/common/impl/HibernateOrmUtils.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/HibernateOrmMassEntityLoader.java
Log Message:
-----------
HSEARCH-5082 Change query flush modes
Commit: 483581be1ce91d14f4e3524f1d5f4cda6985832b
https://github.com/hibernate/hibernate-search/commit/483581be1ce91d14f4e3...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M integrationtest/mapper/orm-outbox-polling/src/test/java/org/hibernate/search/integrationtest/mapper/orm/outboxpolling/automaticindexing/OutboxPollingAutomaticIndexingWhileMassIndexingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/ApplicationIndexingPlanFilterIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingBasicIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingElementCollectionIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingEmbeddableIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingMappedSuperclassIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingNonEntityIdDocumentIdIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingOverReindexingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/SessionIndexingPlanFilterIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/array/AbstractAutomaticIndexingArrayIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingGenericPolymorphicAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicInverseSideAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/AutomaticIndexingPolymorphicOriginalSideAssociationIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/bytype/AbstractAutomaticIndexingAssociationBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/association/bytype/AbstractAutomaticIndexingMultiValuedAssociationBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/bridge/AbstractAutomaticIndexingBridgeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/bridge/AutomaticIndexingEmbeddedBridgeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/bridge/ContainedInThroughNonContainingIndexedTypeIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/FormulaPropertyIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/model/JsonPropertyIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/search/SearchQueryBaseIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/session/SearchIndexingPlanBaseIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/loading/impl/PersistenceContextThenSecondLevelCacheLookupStrategy.java
Log Message:
-----------
HSEARCH-5082 Switch to Session.find/Session.byId instead of Session.get
Commit: 0f635ae8cba71a08075cb21404f7921efb76cbdf
https://github.com/hibernate/hibernate-search/commit/0f635ae8cba71a08075c...
Author: marko-bekhta <marko.prykladna(a)gmail.com>
Date: 2024-10-31 (Thu, 31 Oct 2024)
Changed paths:
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/multitenancy/impl/MultitenancyTestHelperSchemaManagementTool.java
Log Message:
-----------
HSEARCH-5082 Address changes in ORM's SchemaManagementTool
Compare: https://github.com/hibernate/hibernate-search/compare/ec19dcc1af65...0f63...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-search/settings/notifications
1 month, 1 week
[hibernate/hibernate-orm] c037d7: move TableMigrator to the SPI package
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: c037d74bbc665c51a58aa131a9e6763d8174a22f
https://github.com/hibernate/hibernate-orm/commit/c037d74bbc665c51a58aa13...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DialectDelegateWrapper.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableMigrator.java
R hibernate-core/src/main/java/org/hibernate/tool/schema/internal/TableMigrator.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/spi/ScriptTargetOutput.java
A hibernate-core/src/main/java/org/hibernate/tool/schema/spi/TableMigrator.java
Log Message:
-----------
move TableMigrator to the SPI package
I must have just made a mistake when I created this interface
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: d6e85b0a4451073abe7e6edfb5073464bd329162
https://github.com/hibernate/hibernate-orm/commit/d6e85b0a4451073abe7e6ed...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/tool/schema/TargetType.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/AbstractSchemaMigrator.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/GroupedSchemaMigratorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/Helper.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/HibernateSchemaManagementTool.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/IndividuallySchemaMigratorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaCreatorImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaDropperImpl.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/SchemaTruncatorImpl.java
R hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/GenerationTarget.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/GenerationTargetToDatabase.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/GenerationTargetToScript.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/exec/GenerationTargetToStdout.java
A hibernate-core/src/main/java/org/hibernate/tool/schema/spi/GenerationTarget.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/spi/SchemaManagementTool.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hbm/index/JournalingSchemaToolingTarget.java
M hibernate-core/src/test/java/org/hibernate/orm/test/quote/TableGeneratorQuotingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemafilter/RecordingTarget.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schematools/EnumCheckColumnDefinitionTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schematools/EnumCheckTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schematools/FallbackSchemaManagementToolTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/foreignkeys/crossschema/CrossSchemaForeignKeyGenerationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/tool/schema/TargetDatabaseImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/tool/schema/TargetStdoutImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/tool/schema/internal/CheckForExistingForeignKeyTest.java
M hibernate-core/src/test/java/org/hibernate/tool/schema/internal/AbstractSchemaMigratorTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/JournalingGenerationTarget.java
Log Message:
-----------
move GenerationTarget to the SPI package, since it's exposed by the SPI
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-orm/compare/e676ebe62e84...d6e85b0...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
1 month, 1 week
[hibernate/hibernate-orm] 08ac5d: Don't use the build cache during releases
by Yoann Rodière
Branch: refs/heads/6.2
Home: https://github.com/hibernate/hibernate-orm
Commit: 08ac5d3c4c82efa02392172767525ac1d69a5214
https://github.com/hibernate/hibernate-orm/commit/08ac5d3c4c82efa02392172...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M ci/release/Jenkinsfile
M gradle/gradle-enterprise.gradle
M settings.gradle
Log Message:
-----------
Don't use the build cache during releases
So that we're extra sure we're not relying on cache left by a previous
Gradle execution.
(cherry picked from commit 543e095cf70396256ebbf2dd9e9d07f80304bebd)
Commit: dcabe1071aeb1d19386161d3f2e7758a3f7558e7
https://github.com/hibernate/hibernate-orm/commit/dcabe1071aeb1d19386161d...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
A .github/ci-prerequisites-atlas.sh
M .github/workflows/atlas.yml
Log Message:
-----------
Sanitize user home on GitHub Action job start on Atlas
(cherry picked from commit 4e8eb91562b75fbcc6ecdaaa3efe62b724f71aa4)
Commit: b707b022b32fd0cae65ad37881a6e38141089e64
https://github.com/hibernate/hibernate-orm/commit/b707b022b32fd0cae65ad37...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M .github/workflows/atlas.yml
M .github/workflows/contributor-build.yml
Log Message:
-----------
Improve build cache strategy
Ripped off from Quarkus.
Here's how it will work:
1. We create a cache entry on push only. Pull requests only restore it.
2. We create a new cache entry every day, prefixed with something like
2024-10-25.
3. When restoring the cache, we try the entry for the day first
(2024-10-25) and default to the one for the month (2024-10-*).
Critically, this means we will build each day's cache based on the
previous day's cache.
4. Atlas infra uses its own, separate cache entries.
Co-Authored-By: Guillaume Smet <guillaume.smet(a)gmail.com>
(cherry picked from commit 5eaaff2e6367fd4f1071a90eba2e274c800629cd)
Commit: c1e662707d89b4b25be6f880de083ea5edf921d1
https://github.com/hibernate/hibernate-orm/commit/c1e662707d89b4b25be6f88...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M .github/workflows/atlas.yml
M .github/workflows/contributor-build.yml
Log Message:
-----------
Do not include the whole Gradle cache in GH Actions caches
We don't need the whole cache, since most (all?) of it is stored on
Develocity already.
Including ./gradle/caches/modules-2 is enough, because that's where
Maven dependencies are stored, and *those* are not stored on Develocity.
(cherry picked from commit 013bb46470f97285ae57190c9ce5201f31105a21)
Compare: https://github.com/hibernate/hibernate-orm/compare/a8c113dd6200...c1e6627...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
1 month, 1 week
[hibernate/hibernate-orm] 6fcb0d: Don't use the build cache during releases
by Yoann Rodière
Branch: refs/heads/6.4
Home: https://github.com/hibernate/hibernate-orm
Commit: 6fcb0d50fb98db96451a3d0fd83cb9e37822eda3
https://github.com/hibernate/hibernate-orm/commit/6fcb0d50fb98db96451a3d0...
Author: Christian Beikov <christian.beikov(a)gmail.com>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M ci/release/Jenkinsfile
M ci/snapshot-publish.Jenkinsfile
M gradle/gradle-enterprise.gradle
M settings.gradle
Log Message:
-----------
Don't use the build cache during releases
So that we're extra sure we're not relying on cache left by a previous
Gradle execution.
(cherry picked from commit 543e095cf70396256ebbf2dd9e9d07f80304bebd)
Commit: d6a9c42c2d7be01cd566d599e95d05718e6d327f
https://github.com/hibernate/hibernate-orm/commit/d6a9c42c2d7be01cd566d59...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
A .github/ci-prerequisites-atlas.sh
M .github/workflows/atlas.yml
Log Message:
-----------
Sanitize user home on GitHub Action job start on Atlas
(cherry picked from commit 4e8eb91562b75fbcc6ecdaaa3efe62b724f71aa4)
Commit: b8b7af92cd858a98b6ddad1181cfe64c89e2fbee
https://github.com/hibernate/hibernate-orm/commit/b8b7af92cd858a98b6ddad1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M .github/workflows/atlas.yml
M .github/workflows/contributor-build.yml
Log Message:
-----------
Improve build cache strategy
Ripped off from Quarkus.
Here's how it will work:
1. We create a cache entry on push only. Pull requests only restore it.
2. We create a new cache entry every day, prefixed with something like
2024-10-25.
3. When restoring the cache, we try the entry for the day first
(2024-10-25) and default to the one for the month (2024-10-*).
Critically, this means we will build each day's cache based on the
previous day's cache.
4. Atlas infra uses its own, separate cache entries.
Co-Authored-By: Guillaume Smet <guillaume.smet(a)gmail.com>
(cherry picked from commit 5eaaff2e6367fd4f1071a90eba2e274c800629cd)
Commit: cca12b90d005e5f43ec202bf175d3cd1a949e925
https://github.com/hibernate/hibernate-orm/commit/cca12b90d005e5f43ec202b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-10-29 (Tue, 29 Oct 2024)
Changed paths:
M .github/workflows/atlas.yml
M .github/workflows/contributor-build.yml
Log Message:
-----------
Do not include the whole Gradle cache in GH Actions caches
We don't need the whole cache, since most (all?) of it is stored on
Develocity already.
Including ./gradle/caches/modules-2 is enough, because that's where
Maven dependencies are stored, and *those* are not stored on Develocity.
(cherry picked from commit 013bb46470f97285ae57190c9ce5201f31105a21)
Compare: https://github.com/hibernate/hibernate-orm/compare/222b1a2b2646...cca12b9...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
1 month, 1 week