Skip to content

Conversation

@dependabot-preview
Copy link

Bumps hibernate-core from 5.1.10.Final to 5.4.21.Final.

Release notes

Sourced from hibernate-core's releases.

Hibernate ORM 5.2.0

5.2.0 includes many improvements and bug-fixes. For a complete list of changes, see https://hibernate.atlassian.net/projects/HHH/versions/23150/tab/release-report-done.

Many of the changes in 5.2.0 have important ramifications in terms of both usage and extension. Be sure to read the 5.2 Migration Guide for details.

Below is a discussion of the major changes.

Java 8 baseline

5.2 moves to Java 8 as its baseline. This means:

  • The hibernate-java8 module has been removed, and that functionality has been moved into hibernate-core.
  • Native support for Java 8 date/time types as Query parameters.
  • Support for streaming (java.util.stream.Stream) query results.
  • Support for java.util.Optional as return from methods that may return null.
  • Leveraging Java 8 "default methods" when introducing new methods to extension points.

Consolidating JPA support into hibernate-core.

That effectively means that the hibernate-entitymanager module no longer exists. Its functionality being consumed into hibernate-core.

JCache support

Support for using any JCache-compliant cache impl as a second-level caching provider.

Session-level batch size support

Support has been added for specifying a batch size for write operations per Session.

Changelog

Sourced from hibernate-core's changelog.

Changes in 5.4.21.Final (August 27, 2020)

https://hibernate.atlassian.net/projects/HHH/versions/31844

** Bug * [HHH-14193] - MultipleLinesSqlCommandExtractor should tolerate empty input scripts * [HHH-14187] - Lazy loading fails if an entity appears twice in the object graph when enhancement as proxy is enabled * [HHH-14183] - LocalTimeJavaDescriptor attempts casting to LocalDate * [HHH-14179] - MultiLineImportExtractorTest fails on Windows * [HHH-14175] - StatefulPersistenceContext#getLoadedCollectionOwnerOrNull could NPE on missing CollectionEntry * [HHH-14159] - StandardQueryCacheFactory mentioned in the docs but does not exist * [HHH-14156] - IN subquery predicate with entity aliases produces wrong SQL "too few columns in subquery" * [HHH-14154] - Incorrect SQL generated from Criteria API when concat() and function() methods are used together * [HHH-14153] - HQL update query on abstract entity generates temporary table * [HHH-14152] - Query fails after upgrading to 5.4.20.Final * [HHH-14149] - Improve efficiency of LazyAttributesMetadata#getLazyAttributeNames * [HHH-13380] - Bytecode enhanced entities might throw LazyInitializationException from custom equals/hashcode implementations

** Improvement * [HHH-14190] - Rename isEmptyOrWhitespace() to isBlank() and improve its efficiency * [HHH-14160] - Use a runtime used class for testing Bean Validation presence

** Patch * [HHH-14181] - HQL update/delete query resulted in same table being updated twice * [HHH-3326] - Temporary tables created in SQLServer use the collation for tempdb, not the application database

** Task * [HHH-14150] - Upgrade to Byteman 4.0.13

Changes in 5.4.20.Final (August 10, 2020)

https://hibernate.atlassian.net/projects/HHH/versions/31844

** Bug * [HHH-14129] - Bidirectional relationship with @NotNull fails to save * [HHH-14124] - Entity graph (fetch graph) is incorrectly applied to query results beyond the first one * [HHH-14109] - IN Clause Parameter Padding not working if parameter count is between last valid power of 2 number and 'in expression limit' * [HHH-13974] - FlushMode set through SessionBuilder#flushMode() is ignored

** Improvement * [HHH-14142] - Make constructor of StatelessSessionImpl public * [HHH-14137] - Empty String Check Performance Improvement * [HHH-14133] - Fix mistake in example code for 'second level cache' in user guide

** Task * [HHH-14144] - Explicitly set localization assumptions for the build and testsuite * [HHH-14143] - Detect illegal concurrent usage of LogicalConnectionManagedImpl

Commits
  • 31f8d9e 5.4.21.Final
  • 55b46f1 HHH-14153 refactoring after HHH-14153
  • a497955 HHH-14153 Make buildAppropriateStatementExecutor() protected
  • 6e9b488 HHH-14153 add test
  • 9dd2d94 HHH-14153 further optimization for single-table HQL update
  • f182b3b HHH-14153 clean up BasicExecutor and friends
  • 564c05a HHH-14153 optimize away temp table for single-table HQL update
  • b1dea1b HHH-14193 MultipleLinesSqlCommandExtractor should tolerate empty input scripts
  • b4afea7 HHH-14152 sql-script.g fix for antlr non deterministic warning
  • 8beb1a2 HHH-14152 sql-script.g fix for antlr non deterministic warning
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language
  • @dependabot badge me will comment on this PR with code to add a "Dependabot enabled" badge to your readme

Additionally, you can set the following in your Dependabot dashboard:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Aug 28, 2020
@dependabot-preview
Copy link
Author

Superseded by #59.

@dependabot-preview dependabot-preview bot deleted the dependabot/gradle/org.hibernate-hibernate-core-5.4.21.Final branch October 1, 2020 06:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant