Skip to content

Commit 09c6b1e

Browse files
committed
Merge remote-tracking branch 'upstream/main' into main-perf
2 parents 128d792 + 98957c3 commit 09c6b1e

File tree

1,761 files changed

+38775
-22047
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,761 files changed

+38775
-22047
lines changed

.github/workflows/codeql.yml

Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: "CodeQL"
2+
3+
on:
4+
push:
5+
branches: [ 'main' ]
6+
pull_request:
7+
# The branches below must be a subset of the branches above
8+
branches: [ 'main' ]
9+
schedule:
10+
- cron: '34 11 * * 4'
11+
12+
jobs:
13+
analyze:
14+
name: Analyze
15+
runs-on: ubuntu-latest
16+
permissions:
17+
actions: read
18+
contents: read
19+
security-events: write
20+
21+
strategy:
22+
fail-fast: false
23+
matrix:
24+
language: [ 'java' ]
25+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
26+
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support
27+
28+
steps:
29+
- name: Checkout repository
30+
uses: actions/checkout@v3
31+
32+
# Initializes the CodeQL tools for scanning.
33+
- name: Initialize CodeQL
34+
uses: github/codeql-action/init@v2
35+
with:
36+
languages: ${{ matrix.language }}
37+
# If you wish to specify custom queries, you can do so here or in a config file.
38+
# By default, queries listed here will override any specified in a config file.
39+
# Prefix the list here with "+" to use these queries and those in the config file.
40+
41+
# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
42+
queries: +security-and-quality
43+
44+
45+
# Autobuild attempts to build any compiled languages (C/C++, C#, Go, or Java).
46+
# If this step fails, then you should remove it and run the build manually (see below)
47+
- name: Autobuild
48+
uses: github/codeql-action/autobuild@v2
49+
50+
# ℹ️ Command-line programs to run using the OS shell.
51+
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun
52+
53+
# If the Autobuild fails above, remove it and uncomment the following three lines.
54+
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.
55+
56+
# - run: |
57+
# echo "Run, Build Application using script"
58+
# ./location_of_script_within_repo/buildscript.sh
59+
60+
- name: Perform CodeQL Analysis
61+
uses: github/codeql-action/analyze@v2
62+
with:
63+
category: "/language:${{matrix.language}}"

README.adoc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ It also provides an implementation of the JPA specification, which is the standa
55

66
This is the repository of its source code; see https://hibernate.org/orm/[Hibernate.org] for additional information.
77

8-
image:https://ci.hibernate.org/job/hibernate-orm-main-h2-main/badge/icon[Build Status,link=https://ci.hibernate.org/job/hibernate-orm-main-h2-main/]
9-
image:https://img.shields.io/lgtm/grade/java/g/hibernate/hibernate-orm.svg?logo=lgtm&logoWidth=18[Language grade: Java,link=https://lgtm.com/projects/g/hibernate/hibernate-orm/context:java]
8+
image:https://ci.hibernate.org/job/hibernate-orm-pipeline/job/main/badge/icon[Build Status,link=https://ci.hibernate.org/job/hibernate-orm-pipeline/job/main/]
109
image:https://img.shields.io/badge/Revved%20up%20by-Gradle%20Enterprise-06A0CE?logo=Gradle&labelColor=02303A[link=https://ge.hibernate.org/scans]
1110

1211
== Continuous Integration

changelog.txt

Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,68 @@ Hibernate 6 Changelog
33

44
Note: Please refer to JIRA to learn more about each issue.
55

6+
Changes in 6.2.0.CR1 (December 22, 2022)
7+
------------------------------------------------------------------------------------------------------------------------
8+
9+
https://hibernate.atlassian.net/projects/HHH/versions/32077
10+
11+
** Bug
12+
* [HHH-15900] - ID attributes with "select" generator are mapped to identity columns
13+
* [HHH-15847] - DDL check constraint creation broken
14+
* [HHH-15828] - setting TIMEZONE_DEFAULT_STORAGE to COLUMN does not work
15+
* [HHH-15820] - inconsistent DDL generated Instant and ZonedDateTime, OffsetDateTime on Oracle
16+
* [HHH-15819] - extract(offset hour|minute from datetime) are broken
17+
* [HHH-15814] - Add missing current timestamp methods in CockroachDB dialect
18+
* [HHH-15801] - IdentifierGeneratorHelper should compare column names case insensitively
19+
* [HHH-15775] - Connection error can result in UnknownServiceException, hiding actual exception
20+
* [HHH-15767] - missing unique constraints from optional @OneToOne
21+
* [HHH-15750] - Hibernate.isInitialized() broken for EnhancementAsProxyLazinessInterceptor
22+
* [HHH-15748] - Use JSON DDL type on Oracle 21+ and BLOB on 12+
23+
* [HHH-15741] - Explicit declaration assigned identifier generator does not work
24+
* [HHH-15715] - broken links in 6 docs
25+
* [HHH-15709] - HQL local datetime literals on Postgres, Cockroach H2
26+
* [HHH-15704] - ManyToManyTest produces invalid foreign keys
27+
* [HHH-15689] - SessionFactoryOptionsBuilder.addEntityNameResolvers() has no effect
28+
* [HHH-15687] - IllegalArgumentException with Type parameters and multiple bounds
29+
* [HHH-15682] - static final instances of LockOptions are mutable
30+
* [HHH-15679] - Respect the offset of OffsetTime when persisting/loading data
31+
* [HHH-15670] - RequiresDialectFeature.reverse() not implemented
32+
* [HHH-15669] - Oracle 21 and 11 spatial test failure
33+
* [HHH-15668] - Cockroach test failure: BatchOptimisticLockingTest.testBatchAndOptimisticLocking
34+
* [HHH-15634] - Lazy basic property does not get updated on change
35+
* [HHH-15627] - useless error message of multi-@JoinColumn mapping does not specify referencedColumnName
36+
* [HHH-15571] - Bundle-Manifest has no 'Bundle-Version'
37+
* [HHH-15565] - @Table(fetch=SELECT) is gone from H6
38+
* [HHH-15549] - incorrect DDL mapping DECIMAL -> BOOLEAN on Oracle
39+
* [HHH-15545] - @NotFound(Ignore) defaults to eager loading
40+
* [HHH-15522] - Hibernate.isInitialized method not working for Envers Collections
41+
* [HHH-15505] - Getter of loaded entity returns null when using bytecode enhancement on entity whose field is defined both in mapped superclass and concrete entity
42+
* [HHH-15485] - Tests for Collections in default FetchGroup are not enabling this property
43+
* [HHH-15463] - Adjust JdbcType based on DDL capacity for varchar/varbinary like types
44+
* [HHH-15159] - Orphan removal of an entity with an @ElementCollection causes a ConstraintViolationException
45+
46+
** Deprecation
47+
* [HHH-15788] - deprecate GenerationTime
48+
* [HHH-15772] - deprecate @Target, @Proxy, @Polymorphism
49+
* [HHH-15714] - deprecate FilterKey and QuerySpacesHelper
50+
* [HHH-15701] - deprecated CacheModeType
51+
* [HHH-15697] - deprecate lock(entityName,...)
52+
* [HHH-15684] - SelectionQuery.setAliasSpecificLockMode() confusion
53+
* [HHH-15680] - deprecate LockRequest and buildLockRequest(), and have lock() accept LockOptions
54+
* [HHH-15676] - deprecate SessionFactory.getFilterDefinition()
55+
56+
** Improvement
57+
* [HHH-15926] - allow @Type and @CompositeType to be applied as meta-annotations
58+
* [HHH-15919] - add trunc() / truncate() to the portable HQL functions
59+
* [HHH-15912] - adaptive handling of DDL types for Java enums mapped as ORDINAL
60+
* [HHH-15899] - Add @PartitionKey annotation
61+
* [HHH-15898] - Add @Instantiator annotation to mark canonical constructor for embeddables
62+
* [HHH-15887] - Avoid megamorphic calls on JdbcValuesSourceProcessingState#getSession
63+
* [HHH-15886] - Micro optimisations in NavigableRole equals and hashcode
64+
* [HHH-15879] - Introduce a fetchable key for Fetchable within FetchableContainer
65+
* [HHH-15878] - Micro optimisations of StatefulPersistenceContext#clear
66+
67+
668
Changes in 6.1.2.Final (August 03, 2022)
769
------------------------------------------------------------------------------------------------------------------------
870

ci/build.sh

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,12 @@ elif [ "$RDBMS" == "postgresql" ] || [ "$RDBMS" == "postgresql_10" ]; then
1818
goal="-Pdb=pgsql_ci"
1919
elif [ "$RDBMS" == "edb" ] || [ "$RDBMS" == "edb_10" ]; then
2020
goal="-Pdb=edb_ci -DdbHost=localhost:5444"
21-
elif [ "$RDBMS" == "oracle" ] || [ "$RDBMS" == "oracle_11_2" ]; then
21+
elif [ "$RDBMS" == "oracle" ]; then
2222
# I have no idea why, but these tests don't seem to work on CI...
2323
goal="-Pdb=oracle_ci -PexcludeTests=**.LockTest.testQueryTimeout*"
24+
elif [ "$RDBMS" == "oracle_11_2" ]; then
25+
# I have no idea why, but these tests don't seem to work on CI...
26+
goal="-Pdb=oracle_legacy_ci -PexcludeTests=**.LockTest.testQueryTimeout*"
2427
elif [ "$RDBMS" == "db2" ]; then
2528
goal="-Pdb=db2_ci"
2629
elif [ "$RDBMS" == "db2_10_5" ]; then

ci/jpa-3.0-tck.Jenkinsfile

Lines changed: 0 additions & 93 deletions
This file was deleted.

databases/mariadb/matrix.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
55
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
66
*/
7-
jdbcDependency 'org.mariadb.jdbc:mariadb-java-client:2.2.4'
7+
jdbcDependency 'org.mariadb.jdbc:mariadb-java-client:2.7.7'

databases/oracle/matrix.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
55
* See the lgpl.txt file in the root directory or <http://www.gnu.org/licenses/lgpl-2.1.html>.
66
*/
7-
jdbcDependency 'com.oracle.database.jdbc:ojdbc8:21.1.0.0'
7+
jdbcDependency 'com.oracle.database.jdbc:ojdbc8:21.8.0.0'

0 commit comments

Comments
 (0)