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.
5th bug-fix release for 5.0
The 5th bug-fix release for Hibernate ORM 5.0. This release and the upcoming 5.0.6 release have been done on an accelerated time-box of 2 weeks (from the normal 4 weeks for bug-fix releases) due to US holidays.
The complete list of changes can be found here (or here for people without a Hibernate Jira account).
For information on consuming the release via your favorite dependency-management-capable build tool, see http://hibernate.org/orm/downloads/
For those of you allergic to dependency-management-capable build tools, the release bundles can be obtained from SourceForge or BinTray.
Fourth bug-fix release for 5.0
The fourth bug-fix release for Hibernate ORM 5.0
There are 52 issues resolved in this release. 20 of those came out of the recent Jira cleanup. Initially that initiative pulled in roughly 750 issues. To date, 66 of those have been resolved - fixed or verified as out-of-date, unable-to-reproduce, etc. An additional 14 have been more properly reclassified as feature or enhancement requests rather than bugs. The really cool part is the amount of community help we have gotten in making that happen! Thanks to everyone responding, verifying and even fixing alot of these bugs!
The complete list of changes can be found here. People without a Hibernate Jira account will not be able to access the previous link and can access the changelog in GitHub; the issue I reported with Atlassian has been resolved and is ready for deployment into our hosted environment, I just do not know when that will happen.
For information on consuming the release via your favorite dependency-management-capable build tool, see http://hibernate.org/orm/downloads/
For those of you allergic to dependency-management-capable build tools, the release bundles can be obtained from SourceForge or BinTray.
** Bug
* [HHH-13310] - getParameterValue() not working for collections
* [HHH-14275] - Broken link to Infinispan User Guide in Hibernate 5.3 User Guide
** Bug
* [HHH-12268] - LazyInitializationException thrown from lazy collection when batch fetching enabled and owning entity refreshed with lock
* [HHH-13110] - @PreUpdate method on a Embeddable null on the parent caused NullPointerException
* [HHH-13936] - No auto transaction joining from SessionImpl.doFlush
* [HHH-14077] - CVE-2019-14900 SQL injection issue using JPA Criteria API
** Task
* [HHH-14013] - Upgrade to Hibernate Validator 6.0.20.Final
* [HHH-14096] - Removal of unused code: XMLHelper and its SAXReader factory helper
* [HHH-14103] - Add test cases showing that an entity's transient attribute can be overridden to be persistent in entity subclasses
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
You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/juplo/hibernate4-maven-plugin/network/alerts).
Bumps hibernate-core from 4.3.0.Final to 5.3.20.Final.
Release notes
Sourced from hibernate-core's releases.
... (truncated)
Changelog
Sourced from hibernate-core's changelog.
... (truncated)
Commits
64be512
5.3.20bc8e38a
HHH-14325 - Add Query hint for specifying "query spaces" for native queriesd5067ec
HHH-14325 - Add Query hint for specifying "query spaces" for native queries2896372
HHH-14257 Add test for issue00b3ccb
HHH-14257 An Entity A with a map collection having as index an Embeddable wit...bf0b86d
HHH-14324 Add .gradletasknamecache to .gitignored22bbb5
HHH-14225 CVE-2020-25638 Potential for SQL injection on use_sql_comments logg...d48e19d
5.3.193f3d38d
5.3.1923dd258
5.3.19Dependabot 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 You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/juplo/hibernate4-maven-plugin/network/alerts).