Skip to content

Conversation

@dependabot-preview
Copy link

Bumps hibernate-core from 5.1.10.Final to 5.4.20.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.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 * [HHH-14126] - Add CockroachDB to DefaultDialectSelector and update documentation to mention the new dialect * [HHH-14033] - SQL script parsing problem with multi-line comments

Changes in 5.4.19.Final (July 27, 2020)

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

** Bug * [HHH-14116] - Exception when fetch joining a non-collection when selecting non-query-root * [HHH-14112] - Invalid Pagination COUNT query generated with @Inheritance(strategy = InheritanceType.JOINED) * [HHH-14108] - PADDED and DYNAMIC Batch loading strategies not compatible with the Enhanced Proxy feature * [HHH-14106] - Return entry from #parentsByChild in StateFulPersistenceContext#getParentsByChild * [HHH-14098] - Query plan cache query-level statistics documentation, used getQueryPlanCacheMissCount instead of getPlanCompilationTotalMicroseconds * [HHH-14097] - Versions 5.4.11.Final+ produce too many sql queries * [HHH-14071] - @FetchProfile not working with @OneToOne(mappedBy=...) properties * [HHH-14059] - Cannot use full qualified enum name which has two uppercase alphabet prefix * [HHH-14041] - H2Dialect does not correctly extract violated constraint names for 23506 * [HHH-14021] - Using AttributeConverter to Byte fails with "No dialect mapping for JBDC Type: " * [HHH-13931] - MissingFormatArgumentException in JpaCompliantLifecycleStrategy.BeanImpl * [HHH-13926] - StaleStateException message should not contain SQL parameters * [HHH-13410] - "order_inserts = true" causes FK Violation when inserting with a special case of Unidirectional Relations between 4 Entities * [HHH-13214] - DML batch delete re-firing SQL from previous calls * [HHH-12268] - LazyInitializationException thrown from lazy collection when batch fetching enabled and owning entity refreshed with lock

** Improvement * [HHH-14100] - Update c3p0 to 0.9.5.5 * [HHH-14093] - Optimize inserted key contains

** New Feature

Commits
  • 16ec2ee 5.4.20.Final
  • 74126b7 HHH-14144 Explicitly set localization assumptions for the build and testsuite
  • 5d38bf5 HHH-14126 Add CockroachDB to DefaultDialectSelector and update documentation ...
  • 80a59af HHH-14109 Use 'in expression count limit' if calculated count is greather tha...
  • da77ef9 HHH-14133 fix obvious example code error for 'second level cache' in user guide
  • 1f09db3 HHH-14129 Bidirectional relationship with @NotNull fails to save
  • 2f575f7 HHH-14129 Add test for issue
  • 2587709 HHH-14143 Detect illegal concurrent usage of LogicalConnectionManagedImpl
  • 96bc705 HHH-14142 Make constructor of StatelessSessionImpl public
  • 6392de4 HHH-14137 Some more string check performnance optimisations
  • 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 11, 2020
@dependabot-preview
Copy link
Author

Superseded by #55.

@dependabot-preview dependabot-preview bot deleted the dependabot/gradle/org.hibernate-hibernate-core-5.4.20.Final branch August 28, 2020 06:48
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