[hibernate/hibernate-orm] d6fd1d: HHH-16009 Add test for issue
by Andrea Boriero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: d6fd1dd0565a77db38a20729a78cc5fac446351a
https://github.com/hibernate/hibernate-orm/commit/d6fd1dd0565a77db38a2072...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/onetomany/orderby/Department.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/onetomany/orderby/DepartmentId.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/onetomany/orderby/ECompany.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/onetomany/orderby/IdClassAndOrderByTest.java
Log Message:
-----------
HHH-16009 Add test for issue
Commit: 32ee9f8d93da27f918c40208ab52f37d41f7fec2
https://github.com/hibernate/hibernate-orm/commit/32ee9f8d93da27f918c4020...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractEmbeddableMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EmbeddableMappingTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/IdClassEmbeddable.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/VirtualIdEmbeddable.java
Log Message:
-----------
HHH-16009 Code refactoring
Commit: 2331389b5f64fbfecd33feb01e53b7c9f76e437f
https://github.com/hibernate/hibernate-orm/commit/2331389b5f64fbfecd33feb...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractEmbeddableMapping.java
Log Message:
-----------
HHH-16009 jakarta @OrderBy annotation generates a non-transformed column name in the SQL query for a composite key's field
Compare: https://github.com/hibernate/hibernate-orm/compare/b16ad226ba62...2331389...
1 year, 11 months
[hibernate/hibernate-orm] 821e31: HHH-16185 Implement portable date_trunc function e...
by Marco Belladelli
Branch: refs/heads/6.2
Home: https://github.com/hibernate/hibernate-orm
Commit: 821e31b48176b8eb5a8710e4730bab855676825c
https://github.com/hibernate/hibernate-orm/commit/821e31b48176b8eb5a8710e...
Author: Marco Belladelli <mbellade(a)redhat.com>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/HSQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLServerLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseLegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.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/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/DateTruncEmulation.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/DateTruncTrunc.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
Log Message:
-----------
HHH-16185 Implement portable date_trunc function emulation and tests
Commit: 546d145d889ef7ba28e4aa87b184f25f7efdba6e
https://github.com/hibernate/hibernate-orm/commit/546d145d889ef7ba28e4aa8...
Author: Marco Belladelli <marco(a)hibernate.org>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/query/hql/QueryLanguage.adoc
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CacheDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CockroachLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/H2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/HSQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MimerSQLDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/OracleLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/PostgreSQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLServerLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseLegacyDialect.java
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.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/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/DateTruncEmulation.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/DateTruncTrunc.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/OracleTruncFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/PostgreSQLTruncFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/PostgreSQLTruncRoundFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/SqlServerConvertTruncFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/SybaseTruncFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/TruncFunction.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/criteria/CriteriaBuilderNonStandardFunctionsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
Log Message:
-----------
HHH-16185 Custom trunc/truncate implementation that handles both numeric and datetimes
Compare: https://github.com/hibernate/hibernate-orm/compare/3864b7169660...546d145...
1 year, 11 months
[hibernate/hibernate-orm] 789c13: HHH-16185 Implement portable date_trunc function e...
by Marco Belladelli
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 789c131c2d187b3f970b368213833dd003de051d
https://github.com/hibernate/hibernate-orm/commit/789c131c2d187b3f970b368...
Author: Marco Belladelli <mbellade(a)redhat.com>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/HSQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLServerLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseLegacyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.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/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/CommonFunctionFactory.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/DateTruncEmulation.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/DateTruncTrunc.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
Log Message:
-----------
HHH-16185 Implement portable date_trunc function emulation and tests
Commit: b16ad226ba6216d1206a02095952a057ae3b6874
https://github.com/hibernate/hibernate-orm/commit/b16ad226ba6216d1206a020...
Author: Marco Belladelli <marco(a)hibernate.org>
Date: 2023-02-27 (Mon, 27 Feb 2023)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/query/hql/QueryLanguage.adoc
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CacheDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CockroachLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/DB2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/H2LegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/HSQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MimerSQLDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MySQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/OracleLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/PostgreSQLLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLServerLegacyDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseLegacyDialect.java
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlLexer.g4
M hibernate-core/src/main/antlr/org/hibernate/grammars/hql/HqlParser.g4
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.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/function/CommonFunctionFactory.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/DateTruncEmulation.java
R hibernate-core/src/main/java/org/hibernate/dialect/function/DateTruncTrunc.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/OracleTruncFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/PostgreSQLTruncFunction.java
M hibernate-core/src/main/java/org/hibernate/dialect/function/PostgreSQLTruncRoundFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/SqlServerConvertTruncFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/SybaseTruncFunction.java
A hibernate-core/src/main/java/org/hibernate/dialect/function/TruncFunction.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/criteria/CriteriaBuilderNonStandardFunctionsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/query/hql/FunctionTests.java
Log Message:
-----------
HHH-16185 Custom trunc/truncate implementation that handles both numeric and datetimes
Compare: https://github.com/hibernate/hibernate-orm/compare/d52a44c8eb0b...b16ad22...
1 year, 11 months