Skip to content

Conversation

@dependabot-preview
Copy link

Bumps hibernate-core from 5.1.2.Final to 5.4.22.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.22.Final (September 30, 2020)

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

** Bug * [HHH-14231] - java.lang.ClassCastException: [B cannot be cast to [Ljava.lang.Object; while using JPA 2.2 query.getResultStream().findFirst() * [HHH-14230] - ClassCastException raised by ForeignKeyKey.toString() * [HHH-14223] - NullPointerException when implicit joining over @JoinFormula/@JoinColumnOrFormula * [HHH-14220] - EnhancementException failure with MappedSuperclass with a un-mapped collection * [HHH-14219] - Duplicated rows of sequence table if generator shared by multiple entities * [HHH-14213] - Could not parse literal [9223372036854775808] as integer * [HHH-14212] - @EntityGraph annotation log warning message "Entity graph specified is not applicable to the entity ... . Ignored." and works as if EntityGraph.EntityGraphType.LOAD would set. * [HHH-14206] - Auto-apply converter not applied to primitives * [HHH-14201] - Wrong order of joins in SQL * [HHH-14199] - setDataBase gradle task failed * [HHH-14197] - Criteria API doubly-nested subquery generates invalid SQL - missing subquery root * [HHH-14148] - Invalid SQL when null precedence, @OrderBy and entity graph are used * [HHH-13201] - FromElement orign check fails when fetching @ElementCollection and association * [HHH-13058] - Criteria API correlated subquery with outer join generates incorrect SQL * [HHH-9422] - Metamodel Generator should close streams opened to persistence.xml and referenced mapping files

** Improvement * [HHH-14242] - Micro optimisations of ActionQueue: redundant branch evaluation * [HHH-14238] - Option to always include collection fields in the default fetch group * [HHH-14236] - Improve efficiency of ForeignKeyKey * [HHH-14218] - Correct some typos in code comments * [HHH-14205] - Replace StringBuffer usage with StringBuilder when possible * [HHH-14031] - Update h2 database from 1.4.196 to 1.4.197

** New Feature * [HHH-14198] - Expose CompositeUserTypes through JPA Metamodel

** Task * [HHH-14217] - Use ANSI escape codes to highlight output of hibernate.show_sql * [HHH-14204] - Schema validator should be more forgiving of column type mismatches * [HHH-14203] - DB2 requires the restrict keyword to drop the schema

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

Commits
  • 8b52c40 5.4.22.Final
  • 18bbc9f HHH-14231 Fix ClassCastException in ScrollableResultsImpl for primitive array...
  • e752b8d HHH-14242 Micro optimisations of ActionQueue: redundant branch evaluation
  • d959098 HHH-14217 Minor optimisations in the highlighting formatter implementation
  • 758de18 HHH-14217 Code style
  • 6f9b650 HHH-14217 Add syntax highlighting to the logged SQL
  • c4ee4b1 HHH-14203 DB2 requires the restrict keyword to drop the schema
  • 94b819e HHH-14238 Option to include collection fields in the default fetch group
  • 6eaa3f4 HHH-14220 Fix failure with Oracle
  • 41e94df HHH-14205 Replace StringBuffer with StringBuilder
  • 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)

Bumps [hibernate-core](https://github.com/hibernate/hibernate-orm) from 5.1.2.Final to 5.4.22.Final.
- [Release notes](https://github.com/hibernate/hibernate-orm/releases)
- [Changelog](https://github.com/hibernate/hibernate-orm/blob/5.4.22/changelog.txt)
- [Commits](hibernate/hibernate-orm@5.1.2...5.4.22)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
@dependabot-preview dependabot-preview bot added the dependencies Pull requests that update a dependency file label Oct 1, 2020
@dependabot-preview
Copy link
Author

Superseded by #17.

@dependabot-preview dependabot-preview bot deleted the dependabot/gradle/org.hibernate-hibernate-core-5.4.22.Final branch November 2, 2020 06:44
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