[hibernate/hibernate-orm] 415683: fix broken function argument validation
by Gavin King
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 4156834d873e219a2edbfc1a5310c2a155438504
https://github.com/hibernate/hibernate-orm/commit/4156834d873e219a2edbfc1...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/StandardArgumentsValidators.java
Log Message:
-----------
fix broken function argument validation
Commit: 52e650438448d70a7b5077f8f2c4056bc3e1b675
https://github.com/hibernate/hibernate-orm/commit/52e650438448d70a7b5077f...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/function/ConvertFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/IngresSubstringFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/LocateEmulationUsingPositionAndSubstring.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/NvlFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/SQLFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/SybaseLocateEmulationFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/TemplateRenderer.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/VarArgsSQLFunction.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/SemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/internal/PatternRenderer.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/internal/SelfRenderingFunctionSqlAstExpression.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/internal/SelfRenderingSqmFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/DerbyConcatFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/FunctionAsExpressionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/NamedSqmFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/PatternBasedSqmFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/SelfRenderingFunctionSupport.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/internal/SqmTreePrinter.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmExtractUnit.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmJdbcFunctionEscapeWrapper.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/SqlAstPrinter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/SqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ExtractFunction.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ExtractUnit.java
A hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
support query function EXTRACT(FIELD FROM DATETIME)
Commit: e4f3d956e1745563a9385eaa39019b9dd4d46822
https://github.com/hibernate/hibernate-orm/commit/e4f3d956e1745563a9385ea...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AbstractParameter.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/ParameterTest.java
Log Message:
-----------
parameters in SELECT clause
Commit: afb9a0163b4f9d4f890d7073995552a65a8b1516
https://github.com/hibernate/hibernate-orm/commit/afb9a0163b4f9d4f890d707...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB297Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Ingres9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InterbaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MimerSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Teradata14Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TimesTenDialect.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/CoalesceEmulationUsingNvl.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/ConvertFunctionTemplate.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/DB2SubstringEmulation.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/DB2SubstringFunctionTemplate.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/DerbyConcatEmulation.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/IngresSubstringFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/LocateEmulation.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/LocateEmulationUsingPositionAndSubstring.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/NvlCoalesceEmulation.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/NvlFunctionTemplate.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/SQLFunctionTemplate.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/SqmFunctionProducer.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/SybaseLocateEmulationFunctionTemplate.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/TemplateRenderer.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/TransactSQLTrimEmulation.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/VarArgsSQLFunction.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/spi/AllowableFunctionReturnType.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SqmCriteriaNodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/QuerySplitter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/SemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/ArgumentsValidator.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/FunctionReturnTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/JdbcFunctionEscapeWrapperTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/NamedFunctionTemplateBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/SqmFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/StandardArgumentsValidators.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/StandardFunctionReturnTypeResolvers.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/AbstractGenericSqmFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/AbstractSelfRenderingFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/AbstractSqmFunctionTemplate.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/AnsiTrimEmulationFunctionTemplate.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/AnsiTrimFunctionTemplate.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/CastFunctionTemplate.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/ConcatFunctionTemplate.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/DerbyConcatFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/FunctionAsExpressionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/NamedSqmFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/PatternBasedSqmFunctionTemplate.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/StandardAnsiSqlSqmAggregationFunctionTemplates.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/internal/SqmTreePrinter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/AbstractSqmExpression.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmConcat.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmAvgFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCastFunction.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCastTarget.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCoalesceFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCurrentDateFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCurrentInstantFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCurrentTimeFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCurrentTimestampFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmExtractFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmExtractUnit.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmMaxFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmMinFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmSqrtFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/SqlAstPrinter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/SqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/produce/metamodel/spi/BasicValuedExpressableType.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AbsFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CastFunction.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CastTarget.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CoalesceFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ExtractFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ExtractUnit.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LengthFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LocateFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LowerFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ModFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/NullifFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SqrtFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/TrimFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/UpperFunction.java
M hibernate-core/src/main/java/org/hibernate/type/internal/BasicTypeAdapter.java
M hibernate-core/src/main/java/org/hibernate/type/internal/UserTypeAdapter.java
M hibernate-core/src/main/java/org/hibernate/type/spi/BasicType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/SimpleSelectionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/HqlExecutionSmokeTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/gambit/EntityOfBasics.java
Log Message:
-----------
support the full set of standard HQL functions
- implement LOCATE(), POSITION() query functions
- implement CAST() query function with support for
string/integer/long/float/double/time/date/timestamp
- make SUBSTRING, TRIM, LENGTH, ABS, SQRT, etc, etc work
- and rationalize function registration in the Dialects
Commit: 19ba2e412f2a0790d15602ea4226998f7e1906db
https://github.com/hibernate/hibernate-orm/commit/19ba2e412f2a0790d15602e...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
add bit_length() and character_length() query functions
- character_length() is an alias for length()
- also make length() work on all databases
Commit: bf96a9c083b6656ebd7465c4de7a4c50fd34a6d4
https://github.com/hibernate/hibernate-orm/commit/bf96a9c083b6656ebd7465c...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/produce/metamodel/spi/BasicValuedExpressableType.java
Log Message:
-----------
fix checkstyle violations
Commit: d049316d940f62ab491d4e3a4a12390bc2947566
https://github.com/hibernate/hibernate-orm/commit/d049316d940f62ab491d4e3...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/FirebirdDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/SemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/internal/SqmTreePrinter.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmReplaceFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/SqlAstPrinter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/SqlAstWalker.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ReplaceFunction.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
add stardard REPLACE() query function
Commit: 21ee92b952cf6e1d35b5c160b139e19b4915454c
https://github.com/hibernate/hibernate-orm/commit/21ee92b952cf6e1d35b5c16...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
make SUBSTRING() function support both ANSI SQL and JPA syntax
Commit: 946b25aff65528280d017c32bef0e5979aa9ba89
https://github.com/hibernate/hibernate-orm/commit/946b25aff65528280d017c3...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MimerSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/SemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/internal/SqmTreePrinter.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmExpFunction.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmLnFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/SqlAstPrinter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/SqlAstWalker.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ExpFunction.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LnFunction.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
introduce standardized LN() and EXP() functions
Commit: b8d1f061e5f76e54c8852d66155b9a56293a75fa
https://github.com/hibernate/hibernate-orm/commit/b8d1f061e5f76e54c8852d6...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MimerSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/SemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/internal/SqmTreePrinter.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmPowerFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/SqlAstPrinter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/SqlAstWalker.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/PowerFunction.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
introduce standardized POWER() function
Commit: 81ec64dac58a3cc751ec2699a460e54222350ed4
https://github.com/hibernate/hibernate-orm/commit/81ec64dac58a3cc751ec269...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MimerSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/SemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/internal/SqmTreePrinter.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCeilingFunction.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmFloorFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/SqlAstPrinter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/SqlAstWalker.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CeilingFunction.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/FloorFunction.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
introduce standardized CEILING() and FLOOR() functions
- and clean up some of the Dialect function mappings
Commit: 34777d626b80c4bca4dcde9be5a13f85ffb54f23
https://github.com/hibernate/hibernate-orm/commit/34777d626b80c4bca4dcde9...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TimesTenDialect.java
Log Message:
-----------
fix up Dialect handling of HQL CONCAT() function
Commit: 94d1cf5bd72215b5d84306df501db2b5d5d8f416
https://github.com/hibernate/hibernate-orm/commit/94d1cf5bd72215b5d84306d...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TimesTenDialect.java
Log Message:
-----------
clean up Dialect handling trim functions
Commit: 48fc1028d8613c9312a661eac537467a566eda45
https://github.com/hibernate/hibernate-orm/commit/48fc1028d8613c9312a661e...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java
Log Message:
-----------
clean up dialect handling of EXTRACT() query function
Commit: c6aa25bb54a0740ad56a24d09764b0e3d6760b05
https://github.com/hibernate/hibernate-orm/commit/c6aa25bb54a0740ad56a24d...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
Log Message:
-----------
two fixes to SAP DB Dialect function registration
Commit: f3a1251a577457af14c4273987a49a1a3311c966
https://github.com/hibernate/hibernate-orm/commit/f3a1251a577457af14c4273...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/TeradataDialect.java
Log Message:
-----------
fix two bugs in TeradataDialect
Commit: 9b619ad4c815072f74d1cd905d0ea67058e84ee9
https://github.com/hibernate/hibernate-orm/commit/9b619ad4c815072f74d1cd9...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
Log Message:
-----------
fix LOCATE() function in Cache Dialect
Commit: ff5867aa10d4e94daa013b7c7dfe562b7ce6058e
https://github.com/hibernate/hibernate-orm/commit/ff5867aa10d4e94daa013b7...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
Log Message:
-----------
fix whitespace
Commit: 3611d77b6bf22d747a2b2798dd8be19e7789d65d
https://github.com/hibernate/hibernate-orm/commit/3611d77b6bf22d747a2b279...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
Log Message:
-----------
fix JPA LENGTH() function on MySQL
Commit: 41c4298c6033df4d27329dc574807ac7297e34f3
https://github.com/hibernate/hibernate-orm/commit/41c4298c6033df4d27329dc...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MimerSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/SemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/internal/SqmTreePrinter.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmSignFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/SqlAstPrinter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/SqlAstWalker.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SignFunction.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
add SIGN() function on query language
Commit: c4c432238aa530bb490d9662ec6583659ad6dfec
https://github.com/hibernate/hibernate-orm/commit/c4c432238aa530bb490d966...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
Log Message:
-----------
use registered return type for nonstandard functions in HQL
Commit: ca2a19dffd7684852497329d4488a5ea94a22ff6
https://github.com/hibernate/hibernate-orm/commit/ca2a19dffd7684852497329...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TeradataDialect.java
Log Message:
-----------
fix up dialect mappings for BIT_LENGTH() function
Commit: 7d05dafee9ab2ae883a0fd4584df6a6eed24b520
https://github.com/hibernate/hibernate-orm/commit/7d05dafee9ab2ae883a0fd4...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/internal/SelfRenderingFunctionSqlAstExpression.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/internal/SelfRenderingSqmFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/AbstractSelfRenderingFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCastFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCoalesceFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmGenericFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmJdbcFunctionEscapeWrapper.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmNonStandardFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmStandardFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmSubstringFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/package-info.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/SqlAstPrinter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/SqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AbsFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AbstractAggregateFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AbstractFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AbstractStandardFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AggregateFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/BitLengthFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CastFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CeilingFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CoalesceFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ConcatFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CurrentDateFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CurrentTimeFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CurrentTimestampFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ExpFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ExtractFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/FloorFunction.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/GenericFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LengthFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LnFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LocateFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LowerFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/MinFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ModFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/NonStandardFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/NullifFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/PowerFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ReplaceFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SignFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SqrtFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/StandardFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SubstrFunction.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SubstringFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/TrimFunction.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/UpperFunction.java
Log Message:
-----------
simplify Function and SqmFunction type hierarchies
Commit: 0b5abe20ba3603bd7118d63386c4d624f51dd0d2
https://github.com/hibernate/hibernate-orm/commit/0b5abe20ba3603bd7118d63...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB297Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TeradataDialect.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/DB2SubstringEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/DerbyConcatEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/LocateEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/NvlCoalesceEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/TransactSQLTrimEmulation.java
M hibernate-core/src/main/java/org/hibernate/metamodel/model/domain/internal/collection/CollectionSizeSelector.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/internal/QueryHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/NodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/SqmCriteriaNodeBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/QuerySplitter.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/consume/spi/SemanticQueryWalker.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/ArgumentsValidator.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/FunctionReturnTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/JdbcFunctionEscapeWrapperTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/PatternFunctionTemplateBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/SqmFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/StandardArgumentsValidators.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/StandardFunctionReturnTypeResolvers.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/internal/PatternRenderer.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/internal/SelfRenderingFunctionSqlAstExpression.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/internal/SelfRenderingSqmFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/AbstractSelfRenderingFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/AbstractSqmFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/FunctionAsExpressionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/NamedSqmFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/PatternBasedSqmFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/internal/SqmTreePrinter.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/produce/spi/TrimSpecificationExpressionWrapper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/SqmTypedNode.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/AbstractSqmExpression.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmConcat.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmExpression.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/AbstractSqmAggregateFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/AbstractSqmFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/Distinctable.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmAbsFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmAggregateFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmAvgFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmBitLengthFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCastFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCastTarget.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCeilingFunction.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCoalesce.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCoalesceFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmConcatFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCountFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCountStarFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCurrentDateFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCurrentInstantFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCurrentTimeFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmCurrentTimestampFunction.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmDistinct.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmExpFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmExtractFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmExtractUnit.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmFloorFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmGenericFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmJdbcFunctionEscapeWrapper.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmLengthFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmLnFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmLocateFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmLowerFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmMaxFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmMinFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmModFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmNullifFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmPowerFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmReplaceFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmSignFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmSqrtFunction.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmStar.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmStrFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmSubstringFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmSumFunction.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmTrimFunction.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmTrimSpecification.java
R hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmUpperFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/package-info.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/from/SqmFrom.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/jpa/AbstractJpaTupleElement.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/predicate/SqmPredicate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmAliasedNode.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmDynamicInstantiation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmDynamicInstantiationArgument.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelectClause.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelectableNode.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSelection.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/select/SqmSubQuery.java
A hibernate-core/src/main/java/org/hibernate/sql/TrimSpec.java
R hibernate-core/src/main/java/org/hibernate/sql/TrimSpecification.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/SqlAstPrinter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/AbstractSqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/consume/spi/SqlAstWalker.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/produce/ordering/internal/OrderByFragmentParser.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/produce/spi/SqlAstCreationContext.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/produce/spi/SqlAstFunctionProducer.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/produce/spi/SqmFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AbsFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AbstractAggregateFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AbstractFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AggregateFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/AvgFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/BitLengthFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CastFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CeilingFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CoalesceFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ConcatFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CountFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CountStarFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CurrentDateFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CurrentTimeFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/CurrentTimestampFunction.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Distinct.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ExpFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ExtractFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/FloorFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Function.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/GenericFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LengthFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LnFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LocateFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/LowerFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/MaxFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/MinFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ModFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/NullifFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/PowerFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ReplaceFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SignFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SqrtFunction.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/Star.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SubstringFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/SumFunction.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/TrimFunction.java
A hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/TrimSpecification.java
R hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/UpperFunction.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/BaseSqmUnitTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/produce/CaseExpressionsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/sql/BaseSqmSqlTest.java
M hibernate-core/src/test2/java/org/hibernate/test/compositeelement/CompositeElementTest.java
Log Message:
-----------
massive simplification/refactoring of function handling in query lang
Commit: 0a490a72e80e3ab88bc07fe3939e0aa8a1eeb60e
https://github.com/hibernate/hibernate-orm/commit/0a490a72e80e3ab88bc07fe...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/JdbcFunctionEscapeWrapperTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmDistinct.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmStar.java
Log Message:
-----------
fix checkstyle violations
Commit: 31eaf2afe18f8fa491b0d9dc4088239898cd3bdc
https://github.com/hibernate/hibernate-orm/commit/31eaf2afe18f8fa491b0d9d...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/FunctionReturnTypeResolver.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/StandardFunctionReturnTypeResolvers.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/AbstractSqmFunctionTemplate.java
Log Message:
-----------
fix up some nonsense generic types
Commit: 4cfe1ef5ac1a642938d997a955f1a10c88b0d47a
https://github.com/hibernate/hibernate-orm/commit/4cfe1ef5ac1a642938d997a...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/function/DerbyConcatEmulation.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/NvlCoalesceEmulation.java
M hibernate-core/src/main/java/org/hibernate/query/criteria/JpaFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/JdbcFunctionEscapeWrapperTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/NamedFunctionTemplateBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/PatternFunctionTemplateBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/VarArgsFunctionTemplateBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/internal/SelfRenderingSqmFunction.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/AbstractSelfRenderingFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/FunctionAsExpressionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/NamedSqmFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/PatternBasedSqmFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/function/SqmJdbcFunctionEscapeWrapper.java
Log Message:
-----------
clean up impl of function templates and JpaFunction
Commit: 9b9a7870472e71721c737a131fe29a98bc536470
https://github.com/hibernate/hibernate-orm/commit/9b9a7870472e71721c737a1...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDB53Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MimerSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQL57Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQL57InnoDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2008Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
add portable round(), ascii(), chr() and trig functions to query lang
- along with further Dialect cleanup
Commit: 08f90cc349bd7401b96592120aa196619bfc84c5
https://github.com/hibernate/hibernate-orm/commit/08f90cc349bd7401b965921...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.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/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Ingres9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InterbaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TeradataDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TimesTenDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
Log Message:
-----------
completely rewrite the whole Dialect SQL function registration
Commit: 4b1eeaada2a2a55bd3ab167d2d6ac722ebe5df01
https://github.com/hibernate/hibernate-orm/commit/4b1eeaada2a2a55bd3ab167...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/JdbcFunctionEscapeWrapperTemplate.java
Log Message:
-----------
fix whitespace
Commit: d24c4983db66dde8d97261fb45143644c29208df
https://github.com/hibernate/hibernate-orm/commit/d24c4983db66dde8d97261f...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TimesTenDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
add standard LEAST() and GREATEST() functions to query language
Commit: d098a510d78720ef43cba1a398ba9664f9099934
https://github.com/hibernate/hibernate-orm/commit/d098a510d78720ef43cba1a...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
Log Message:
-----------
add localtime, localtimestamp to the function registry
Commit: 8114828558f4f97ad70378b581317e12d1b967b6
https://github.com/hibernate/hibernate-orm/commit/8114828558f4f97ad70378b...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
Log Message:
-----------
move function creating to CommonFunctionFactory
Commit: 6cf744a8a33900732a3e8f15d0a7ca45ecc20541
https://github.com/hibernate/hibernate-orm/commit/6cf744a8a33900732a3e8f1...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/LocateEmulation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/PatternFunctionTemplateBuilder.java
A hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/PairedFunctionTemplate.java
Log Message:
-----------
more cleanup on the SQL function creation code
Commit: 66f527b01dfcf00df6da006043c41a21abb5baeb
https://github.com/hibernate/hibernate-orm/commit/66f527b01dfcf00df6da006...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/PatternFunctionTemplateBuilder.java
Log Message:
-----------
fix whitespace
Commit: 49d2c37de269ed033b92ca98c991341aa6bbb23c
https://github.com/hibernate/hibernate-orm/commit/49d2c37de269ed033b92ca9...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2005Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2008Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASE157Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
Log Message:
-----------
fix some bugs in the transact SQL dialects
Commit: b1d129f8d8ab1821fd871392e728d2903f2bcb43
https://github.com/hibernate/hibernate-orm/commit/b1d129f8d8ab1821fd87139...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDB10Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
Log Message:
-----------
fix some bugs in the transact SQL dialects
Commit: 697f26494710e214a0aa3d1111d50125124c65ba
https://github.com/hibernate/hibernate-orm/commit/697f26494710e214a0aa3d1...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
Log Message:
-----------
rewrite CUBRIDDialect
Commit: 12721235c5d90924802b1fa3e39cc9da52ae68e4
https://github.com/hibernate/hibernate-orm/commit/12721235c5d90924802b1fa...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TimesTenDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
Log Message:
-----------
make ifnull() work on all dialects
- abstracts over nvl, ifnull, isnull
- no need to add it to HQL because we have coalesce()
Commit: e81f8a3c2f7436c6d6bdb35d582e2c1f61a9cc84
https://github.com/hibernate/hibernate-orm/commit/e81f8a3c2f7436c6d6bdb35...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
Log Message:
-----------
fix rownum types
Commit: e90d42bc6e530ec14c6f97efa6a0a8e26dd79fad
https://github.com/hibernate/hibernate-orm/commit/e90d42bc6e530ec14c6f97e...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9iDialect.java
Log Message:
-----------
Oracle has has a coalesce() function for 18 years now
- so we can stop using nested nvl() already!
Commit: a8b8f9035c522774814d450982ac537810c34ee9
https://github.com/hibernate/hibernate-orm/commit/a8b8f9035c522774814d450...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SAPDBDialect.java
Log Message:
-----------
fix syntax in nullif emulation
Commit: 66cc92d1c8afbbd502e5459bd199f64645ea7bf0
https://github.com/hibernate/hibernate-orm/commit/66cc92d1c8afbbd502e5459...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.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/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TimesTenDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/NvlCoalesceEmulation.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/NamedFunctionTemplateBuilder.java
Log Message:
-----------
diallow use of nvl() and friends b/c they compete with coalesce()
same with variants of if() which compete with case
Commit: 3e0a27686213fa645346cf23277c361df42bdf0d
https://github.com/hibernate/hibernate-orm/commit/3e0a27686213fa645346cf2...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
make ifnull() a "standard" synonym for coalesce()
Commit: b4a218cd074d883f3af57cdce1d923f8847a2927
https://github.com/hibernate/hibernate-orm/commit/b4a218cd074d883f3af57cd...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
re-add support for legacy HQL datetime extraction functions
Commit: a31d6f37f7ac647177830bb00ef1303be62bd1f5
https://github.com/hibernate/hibernate-orm/commit/a31d6f37f7ac647177830bb...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
Log Message:
-----------
make extract() function work on Cache
map it to datepart()
Commit: 7a772f59800fdb3327d1852dbfe86cc511f6adc5
https://github.com/hibernate/hibernate-orm/commit/7a772f59800fdb3327d1852...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
support additional fields in extract()
and make str() function a true synonym for cast()
Commit: ed765c56cbfb0c16f36398dc6b5406d78bd8b62f
https://github.com/hibernate/hibernate-orm/commit/ed765c56cbfb0c16f36398d...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TeradataDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
Log Message:
-----------
get rid of def of str() and friends from Dialect
(no longer used now these things are synonyms in the grammar)
Commit: e030cfbfd2e91a15a74e65aa0cd7edab12666d82
https://github.com/hibernate/hibernate-orm/commit/e030cfbfd2e91a15a74e65a...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/NamedFunctionTemplateBuilder.java
Log Message:
-----------
fix whitespace
Commit: b716dc7ebd1cb257bc038ac283fef11ed9663aad
https://github.com/hibernate/hibernate-orm/commit/b716dc7ebd1cb257bc038ac...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
Log Message:
-----------
better grammar for substring()
Commit: 649d4edf85bf87c269445c89697b796b28bc2ee9
https://github.com/hibernate/hibernate-orm/commit/649d4edf85bf87c269445c8...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MckoiDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TeradataDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
get rid of ANSI bit_length/character_length and just go with JPA length
and properly map length functions on all Dialects
Commit: 08cc15d70dd4e6eccc3574bdbcf3328fc139c240
https://github.com/hibernate/hibernate-orm/commit/08cc15d70dd4e6eccc3574b...
Author: gavinking <gavin(a)ceylon-lang.org>
Date: 2019-05-08 (Wed, 08 May 2019)
Changed paths:
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/query/hql/internal/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractTransactSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CUBRIDDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Cache71Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/InformixDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/IngresDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/RDMSOS2200Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TimesTenDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/query/hql/internal/SemanticQueryBuilder.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/AbstractSelfRenderingFunctionTemplate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/produce/function/spi/NamedSqmFunctionTemplate.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/sqm/execution/FunctionTests.java
Log Message:
-----------
remove ascii() / chr() from set of standard functions
they don't handle multibyte characters so what's the point?
Compare: https://github.com/hibernate/hibernate-orm/compare/c73095e32e40...08cc15d...
5 years, 6 months
[hibernate/hibernate-orm] 6a0dc3: Ported more Envers tests.
by Chris Cranford
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 6a0dc341fb59e783a73ef57535ad2f0e4b06481a
https://github.com/hibernate/hibernate-orm/commit/6a0dc341fb59e783a73ef57...
Author: Chris Cranford <chris(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/envers/test/query/OrderByLimitQueryTest.java
A hibernate-core/src/test/java/org/hibernate/envers/test/query/OrderByOneAuditEntityTest.java
A hibernate-core/src/test/java/org/hibernate/envers/test/query/OrderByThreeEntityTest.java
A hibernate-core/src/test/java/org/hibernate/envers/test/query/OrderByTwoEntityOneAuditedTest.java
A hibernate-core/src/test/java/org/hibernate/envers/test/query/OrderByTwoEntityTest.java
A hibernate-core/src/test/java/org/hibernate/envers/test/query/StoreDeletedDataTest.java
A hibernate-core/src/test/java/org/hibernate/envers/test/query/embeddables/EmbeddableQueryTest.java
A hibernate-core/src/test/java/org/hibernate/envers/test/query/ids/EmbeddedIdOneToManyQueryTest.java
A hibernate-core/src/test/java/org/hibernate/envers/test/query/ids/EmbeddedIdRelatedIdQueryTest.java
A hibernate-core/src/test/java/org/hibernate/envers/test/support/domains/onetomany/ids/SetRefEdEmbIdEntity.java
A hibernate-core/src/test/java/org/hibernate/envers/test/support/domains/onetomany/ids/SetRefIngEmbIdEntity.java
A hibernate-core/src/test/java/org/hibernate/envers/test/support/domains/query/embeddables/NameInfo.java
A hibernate-core/src/test/java/org/hibernate/envers/test/support/domains/query/embeddables/Person.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/entities/onetomany/ids/SetRefEdEmbIdEntity.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/entities/onetomany/ids/SetRefIngEmbIdEntity.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/integration/query/OrderByLimitQuery.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/integration/query/OrderByOneAuditEntityTest.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/integration/query/OrderByThreeEntityTest.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/integration/query/OrderByTwoEntityOneAuditedTest.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/integration/query/OrderByTwoEntityTest.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/integration/query/StoreDeletedData.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/integration/query/embeddables/EmbeddableQuery.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/integration/query/embeddables/NameInfo.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/integration/query/embeddables/Person.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/integration/query/ids/EmbIdOneToManyQuery.java
R hibernate-core/src/test2/java/org/hibernate/envers/test/integration/query/ids/EmbeddedIdRelatedIdQueryTest.java
Log Message:
-----------
Ported more Envers tests.
5 years, 6 months
[hibernate/hibernate-search] 333ce7: HSEARCH-3475 Make automatic indexing configuration...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 333ce7f3d5780f79463368dd6afd7a19f577ac9f
https://github.com/hibernate/hibernate-search/commit/333ce7f3d5780f794633...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M documentation/src/main/asciidoc/mapper-orm-indexing.asciidoc
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/BasicMassIndexingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/nonregression/massindexing/PrimitiveIdMassIndexingIT.java
M integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/library/OrmLibraryShowcaseIT.java
M integrationtest/showcase/library/src/test/java/org/hibernate/search/integrationtest/showcase/library/OrmManualIndexingIT.java
M integrationtest/showcase/library/src/test/resources/application-test.yaml
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchIntegrator.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/HibernateOrmAutomaticIndexingStrategyName.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/HibernateOrmIndexingStrategyName.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/HibernateOrmMapperSettings.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
Log Message:
-----------
HSEARCH-3475 Make automatic indexing configuration properties clearer
1. Use a single prefix for those properties, because we will need to add
more properties in HSEARCH-3316 and we'd better make it clear they are
all related to the same feature.
2. Use a clearer "none"/"session" name for the automatic indexing
strategy, because "event" wasn't obvious especially for people coming
from the microservices world, and might get even more confusing when we
address clustering and send events over Kafka streams.
Commit: 6228fd535a83370941e32bfaa0f27db1a2a78b97
https://github.com/hibernate/hibernate-search/commit/6228fd535a83370941e3...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateSearchIntegrator.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/event/impl/HibernateSearchEventListener.java
Log Message:
-----------
HSEARCH-3475 Avoid unnecessary state checks in HibernateSearchEventListener
If the listener is disabled, let's simply not add it to begin with.
Commit: 00cceaea04ea787635b8dfbd6373bdda612b19d3
https://github.com/hibernate/hibernate-search/commit/00cceaea04ea787635b8...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M documentation/pom.xml
M documentation/src/main/asciidoc/mapper-orm-indexing.asciidoc
M pom.xml
Log Message:
-----------
HSEARCH-1777 Document automatic indexing
Commit: 962fba824660705af63198e2ae1072567ff7e154
https://github.com/hibernate/hibernate-search/commit/962fba824660705af631...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/impl/HibernateSearchContextService.java
Log Message:
-----------
HSEARCH-3316 Fix mispositionned static fields in HibernateSearchContextService
Commit: cc745aed146a22cc922b921dc6b384ccef75c280
https://github.com/hibernate/hibernate-search/commit/cc745aed146a22cc922b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchParallelChangesetsWorkOrchestratorTest.java
Log Message:
-----------
HSEARCH-3316 Fix typos in ElasticsearchParallelChangesetsWorkOrchestratorTest
Commit: bfa04ab338c55205a000507987c3b6def97136dd
https://github.com/hibernate/hibernate-search/commit/bfa04ab338c55205a000...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexManagerImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexWorkPlan.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/IndexingBackendContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkBulker.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchIgnoreRefreshWorkExecutionContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchSerialChangesetsWorkOrchestrator.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchWorkOrchestratorProvider.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/impl/IndexWriteWorkBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/AbstractSimpleBulkableElasticsearchWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/AbstractSimpleElasticsearchWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/BulkableElasticsearchWork.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkBulkerTest.java
Log Message:
-----------
HSEARCH-3316 Determine whether Elasticsearch works should trigger a refresh depending on the work plan instead of the orchestrator
This will allow us to configure refreshes from the mapper.
The setting "force refresh after write" used to be determined by the
work orchestrator.
This caused two problems:
* It was not possible for the *mapper* to decide whether refreshes
should be forced or not, which is annoying because forcing refreshes
has an impact on throughput, and so do other settings in the mapper.
Ideally we'd want to configure everything at the mapper level, for the
sake of simplicity.
* It was not possible to change the setting from one changeset to
another, which is annoying because some users may want to leave it
disabled in general (for performance) and enable it on an opt-in basis.
With this commit, the setting is still sourced from index configuration
properties, but is determined by the work plan.
Since the work plan is created upon mapper request, this will allow us,
in the next commits, to source the setting from the mapper instead of
index configuration properties, which will allow us to solve the two
problems mentioned above.
Commit: 86000d401eeee76fd704c0b183a44fa342749eaf
https://github.com/hibernate/hibernate-search/commit/86000d401eeee76fd704...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/BulkWork.java
Log Message:
-----------
HSEARCH-3316 Fix a typo in the name of BulkResultImpl
Commit: 3e46d1d4ef403b5b8d2082a34bdccf354ab51789
https://github.com/hibernate/hibernate-search/commit/3e46d1d4ef403b5b8d20...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/cfg/ElasticsearchIndexSettings.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexManagerImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexWorkPlan.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/IndexingBackendContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkBulker.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchWorkOrchestratorProvider.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/impl/BulkWorkBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/impl/IndexWriteWorkBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/AbstractSimpleBulkableElasticsearchWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/AbstractSimpleElasticsearchWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/BulkWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/BulkableElasticsearchWork.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkBulkerTest.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerImpl.java
M documentation/src/main/asciidoc/backend-elasticsearch.asciidoc
M documentation/src/test/resources/META-INF/persistence.xml
M documentation/src/test/resources/hibernate-test-backend-elasticsearch.properties
A engine/src/main/java/org/hibernate/search/engine/backend/index/spi/DocumentRefreshStrategy.java
M engine/src/main/java/org/hibernate/search/engine/backend/index/spi/IndexManagerImplementor.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexManagerImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexManager.java
M integrationtest/backend/elasticsearch/src/test/resources/backend-tck-analysis-custom.properties
M integrationtest/backend/elasticsearch/src/test/resources/backend-tck-analysis-override.properties
M integrationtest/backend/elasticsearch/src/test/resources/backend-tck-multi-tenancy.properties
M integrationtest/backend/elasticsearch/src/test/resources/backend-tck.properties
M integrationtest/showcase/library/src/test/resources/application-test.yaml
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexManager.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingIndexManager.java
Log Message:
-----------
HSEARCH-3316 Control the refresh strategy from the mapper instead of from backend configuration
Commit: 66824107cae54e474957a6a5e26671ff5451d22b
https://github.com/hibernate/hibernate-search/commit/66824107cae54e474957...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/directfieldmapping/HibernateOrmSimpleMappingIT.java
M documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/entityindexmapping/HibernateOrmIndexedIT.java
M documentation/src/test/java/org/hibernate/search/documentation/searchdsl/DslConverterIT.java
M documentation/src/test/java/org/hibernate/search/documentation/searchdsl/ProjectionConverterIT.java
M documentation/src/test/resources/META-INF/persistence.xml
M integrationtest/showcase/library/src/test/resources/application-test.yaml
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/impl/JavaBeanSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/bootstrap/impl/HibernateOrmIntegrationBooterImpl.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/HibernateOrmAutomaticIndexingSynchronizationStrategyName.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/cfg/HibernateOrmMapperSettings.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/impl/HibernateSearchContextService.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/impl/InTransactionWorkQueueSynchronization.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/impl/PostTransactionWorkQueueSynchronization.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingPartialBuildState.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/AutomaticIndexingSynchronizationStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/spi/SearchSessionImplementor.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchSessionDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoWorkPlanImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/session/spi/PojoSearchSessionDelegate.java
M util/common/src/main/java/org/hibernate/search/util/common/impl/Futures.java
Log Message:
-----------
HSEARCH-3316 Allow users to configure the synchronization strategy in properties of the ORM mapper
Commit: 088b0f11eee76885ac8b88a3f2576c52c5625c1c
https://github.com/hibernate/hibernate-search/commit/088b0f11eee76885ac8b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/BasicMassIndexingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/nonregression/massindexing/PrimitiveIdMassIndexingIT.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/assertion/StubIndexWorkAssert.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/StubIndexWork.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexDocumentWorkExecutor.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexManager.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexWorkPlan.java
Log Message:
-----------
HSEARCH-3316 Check the index refresh strategy in all POJO mapper tests
Commit: c7dfbe37a793dd77b4691ae913a10ca2bc266cbd
https://github.com/hibernate/hibernate-search/commit/c7dfbe37a793dd77b469...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/IndexWorkCall.java
Log Message:
-----------
HSEARCH-3316 Allow stubs to return a custom CompletableFuture in BackendMock
This will allow us to test synchronization strategies in details
Commit: 7bfa10278920132c37238897f890ca98df0dc5b6
https://github.com/hibernate/hibernate-search/commit/7bfa10278920132c3723...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
A integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSynchronizationStrategyIT.java
Log Message:
-----------
HSEARCH-3316 Test various synchronization strategies for automatic indexing
Commit: 8e7c2e31248528d240bfa592b708d98761bff5f5
https://github.com/hibernate/hibernate-search/commit/8e7c2e31248528d240bf...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexManagerImpl.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/ElasticsearchIndexWorkPlan.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/index/impl/IndexingBackendContext.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkBulker.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/impl/BulkWorkBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/impl/IndexWriteWorkBuilder.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/AbstractSimpleBulkableElasticsearchWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/AbstractSimpleElasticsearchWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/BulkWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/BulkableElasticsearchWork.java
M backend/elasticsearch/src/test/java/org/hibernate/search/backend/elasticsearch/orchestration/impl/ElasticsearchDefaultWorkBulkerTest.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/index/impl/LuceneIndexManagerImpl.java
A engine/src/main/java/org/hibernate/search/engine/backend/index/DocumentRefreshStrategy.java
R engine/src/main/java/org/hibernate/search/engine/backend/index/spi/DocumentRefreshStrategy.java
M engine/src/main/java/org/hibernate/search/engine/backend/index/spi/IndexManagerImplementor.java
M engine/src/main/java/org/hibernate/search/engine/common/impl/MappedIndexManagerImpl.java
M engine/src/main/java/org/hibernate/search/engine/mapper/mapping/spi/MappedIndexManager.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSynchronizationStrategyIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/BasicMassIndexingIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/nonregression/massindexing/PrimitiveIdMassIndexingIT.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/impl/JavaBeanSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/AutomaticIndexingSynchronizationStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/spi/SearchSessionImplementor.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoIndexedTypeManager.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoSearchSessionDelegateImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/mapping/impl/PojoWorkPlanImpl.java
M mapper/pojo/src/main/java/org/hibernate/search/mapper/pojo/session/spi/PojoSearchSessionDelegate.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/rule/BackendMock.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/StubIndexWork.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexDocumentWorkExecutor.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexManager.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/backend/index/impl/StubIndexWorkPlan.java
M util/internal/integrationtest/common/src/main/java/org/hibernate/search/util/impl/integrationtest/common/stub/mapper/StubMappingIndexManager.java
Log Message:
-----------
HSEARCH-3316 Move DocumentRefreshStrategy to API
So that we can expose hooks to allow users to customize it in the
mapper.
Commit: 377c0bfe4d15a4fccc67bfa4e34cbd28c015a1cd
https://github.com/hibernate/hibernate-search/commit/377c0bfe4d15a4fccc67...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/SearchSessionBuilder.java
M mapper/javabean/src/main/java/org/hibernate/search/mapper/javabean/session/impl/JavaBeanSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/impl/HibernateSearchContextService.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/impl/InTransactionWorkQueueSynchronization.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/impl/PostTransactionWorkQueueSynchronization.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingImpl.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingPartialBuildState.java
A mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/AutomaticIndexingSynchronizationStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/SearchSession.java
R mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/AutomaticIndexingSynchronizationStrategy.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/LazyInitSearchSession.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/spi/SearchSessionImplementor.java
Log Message:
-----------
HSEARCH-3316 Allow users to override the synchronization strategy per session in the POJO mappers
Commit: f465d75f6bb1794abc32ce53371f49da4af13926
https://github.com/hibernate/hibernate-search/commit/f465d75f6bb1794abc32...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/automaticindexing/AutomaticIndexingSynchronizationStrategyIT.java
Log Message:
-----------
HSEARCH-3316 Test overriding the synchronization strategy per session in the ORM mapper
Commit: 8c02a689c5cef3cb4410f98bfd37535951ccf7aa
https://github.com/hibernate/hibernate-search/commit/8c02a689c5cef3cb4410...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-07 (Tue, 07 May 2019)
Changed paths:
M documentation/src/main/asciidoc/getting-started.asciidoc
M documentation/src/main/asciidoc/mapper-orm-indexing.asciidoc
A documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/indexing/Book.java
A documentation/src/test/java/org/hibernate/search/documentation/mapper/orm/indexing/HibernateOrmAutomaticIndexingIT.java
Log Message:
-----------
HSEARCH-3316 Document automatic indexing synchronization strategies
Compare: https://github.com/hibernate/hibernate-search/compare/1a9ff41c4ca3...8c02...
5 years, 6 months
[hibernate/hibernate-search] 83597d: HSEARCH-1857 Raise SearchException trying unwrap c...
by Fabio Massimo
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 83597d7db8229d381640382971d91adfa0fda162
https://github.com/hibernate/hibernate-search/commit/83597d7db8229d381640...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToHibernateOrmIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToJpaIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/Search.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
Log Message:
-----------
HSEARCH-1857 Raise SearchException trying unwrap closed session
Commit: 75c7f7567118fa00a0ec36ec637789b701981a42
https://github.com/hibernate/hibernate-search/commit/75c7f7567118fa00a0ec...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToHibernateOrmIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToJpaIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/logging/impl/Log.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
Log Message:
-----------
HSEARCH-1857 Check ORM session is open on scoping query
Commit: b8fe47977d598b68e933e681dcfa8e9bf3b866ab
https://github.com/hibernate/hibernate-search/commit/b8fe47977d598b68e933...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToHibernateOrmIT.java
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToJpaIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/mapping/impl/HibernateOrmMappingImpl.java
Log Message:
-----------
HSEARCH-1857 Raise SearchException on lazy Search session creation
Commit: 04f478197ee346d1c8bb2fd36073a9842be79d17
https://github.com/hibernate/hibernate-search/commit/04f478197ee346d1c8bb...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/massindexing/BasicMassIndexingIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/session/impl/HibernateOrmSearchSession.java
Log Message:
-----------
HSEARCH-1857 Check ORM session is open on create mass indexer
Commit: 1a9ff41c4ca389f35a1c0121f8884d92c9537912
https://github.com/hibernate/hibernate-search/commit/1a9ff41c4ca389f35a1c...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M integrationtest/mapper/orm/src/test/java/org/hibernate/search/integrationtest/mapper/orm/hibernateormapis/ToHibernateOrmIT.java
M mapper/orm/src/main/java/org/hibernate/search/mapper/orm/search/query/impl/HibernateOrmSearchQuery.java
Log Message:
-----------
HSEARCH-1857 Check ORM session is open on using query
Compare: https://github.com/hibernate/hibernate-search/compare/d81ab792072f...1a9f...
5 years, 6 months
[hibernate/hibernate-search] 90c6fb: HSEARCH-3571 Avoid warnings when checking if an in...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 90c6fbea6d8620032bb5612298ce4def934f0e4f
https://github.com/hibernate/hibernate-search/commit/90c6fbea6d8620032bb5...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch60WorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch67WorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch7WorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/IndexExistsWork.java
M integrationtest/backend/elasticsearch/src/test/java/org/hibernate/search/integrationtest/backend/elasticsearch/fieldtype/ElasticsearchFieldTypesIT.java
Log Message:
-----------
HSEARCH-3571 Avoid warnings when checking if an index exists with ES 6.7
Commit: 50f51f9d4db2631a47298ab9ce06d42da52b547e
https://github.com/hibernate/hibernate-search/commit/50f51f9d4db2631a4729...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch67WorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch7WorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/DeleteWork.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/IndexWork.java
Log Message:
-----------
HSEARCH-3571 Avoid warnings for index/delete in bulk requests with ES7+
Commit: 61e70eb5dc689f5f6d13c02a67a3393c4ebbcda1
https://github.com/hibernate/hibernate-search/commit/61e70eb5dc689f5f6d13...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch67WorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch7WorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ExplainWork.java
Log Message:
-----------
HSEARCH-3571 Refactor ExplainWork for consistency with IndexWork and DeleteWork
Commit: a749f2f5d5e6cfcdfded166999e7860515a1bbac
https://github.com/hibernate/hibernate-search/commit/a749f2f5d5e6cfcdfded...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch67WorkBuilderFactory.java
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/builder/factory/impl/Elasticsearch7WorkBuilderFactory.java
R backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/ElasticsearchSearchWork.java
A backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/SearchWork.java
Log Message:
-----------
HSEARCH-3571 Rename ElasticsearchSearchWork to SearchWork for consistency with other work classes
It was renamed by mistake at some point.
Commit: d81ab792072fb8a77883f47bdc3d20f2a1346624
https://github.com/hibernate/hibernate-search/commit/d81ab792072fb8a77883...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2019-05-03 (Fri, 03 May 2019)
Changed paths:
M backend/elasticsearch/src/main/java/org/hibernate/search/backend/elasticsearch/work/impl/PutIndexTypeMappingWork.java
Log Message:
-----------
HSEARCH-3571 Add a comment explaining why we push the mapping with a type name in ES6.7
Compare: https://github.com/hibernate/hibernate-search/compare/7ba340e2ff5f...d81a...
5 years, 6 months
[hibernate/hibernate-search] 7ba340: HSEARCH-3539 Make LuceneDistanceToFieldProjection ...
by Fabio Massimo
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: 7ba340e2ff5f9e6aee8ab86001ca526f70d06d75
https://github.com/hibernate/hibernate-search/commit/7ba340e2ff5f9e6aee8a...
Author: Fabio Massimo Ercoli <fabiomassimo.ercoli(a)gmail.com>
Date: 2019-05-02 (Thu, 02 May 2019)
Changed paths:
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectors.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/extraction/impl/LuceneCollectorsBuilder.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/LuceneDistanceToFieldProjection.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/projection/impl/SearchProjectionExtractContext.java
M backend/lucene/src/main/java/org/hibernate/search/backend/lucene/search/query/impl/LuceneSearcher.java
Log Message:
-----------
HSEARCH-3539 Make LuceneDistanceToFieldProjection stateless
5 years, 6 months