Skip to content

Bump org.hibernate.orm:hibernate-core from 7.0.0.Beta3 to 7.0.0.Beta5 #9

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Mar 31, 2025

Bumps org.hibernate.orm:hibernate-core from 7.0.0.Beta3 to 7.0.0.Beta5.

Release notes

Sourced from org.hibernate.orm:hibernate-core's releases.

Hibernate ORM 7.0.0.Beta5 released

Today, we published a new release of Hibernate ORM 7.0: 7.0.0.Beta5.

You can find the full list of 7.0.0.Beta5 changes here.

What's new

Jakarta Persistence 3.2

7.0 migrates to Jakarta Persistence 3.2 which can be fairly disruptive. See the Migration Guide for details.

See this blog post for a summary of the changes in 3.2

Java 17

Version 3.2 of Jakarta Persistence requires Java 17.
Hibernate 7.0 therefore baselines on Java 17 whereas previous versions baseline on Java 11.

Domain Model Validations

7.0 does much more validation of an application's domain model and especially its mapping details, e.g.

  • illegal combinations such as @Basic and @ManyToOne on the same attribute
  • misplaced annotations such as an annotated getter method with FIELD access
  • stricter following of JavaBean conventions

See the Migration Guide for details.

mapping.xsd

Hibernate 7.0 provides a new XSD that represents an "extension" of the Jakarta Persistence orm.xsd weaving in Hibernate-specific mapping features.
The namespace for this extended mapping is http://www.hibernate.org/xsd/orm/mapping

For applications using Hibernate's legacy hbm.xml format, we provide a tool to help with the transformation. See the Migration Guide for details.

Hibernate Models

7.0 migrates from Hibernate Commons Annotations (HCANN) to the new Hibernate Models project for low-level processing of an application domain model, reading annotations and weaving in XML mapping documents. See the Migration Guide for details.

... (truncated)

Changelog

Sourced from org.hibernate.orm:hibernate-core's changelog.

Changes in 7.0.0.Beta5 (March 21, 2025)

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

** Bug * [HHH-19266] - inconsistencies in ScrollableResults * [HHH-19259] - Static metamodel for id/timestamp not set (and triggers warnings) for DefaultRevisionEntity and similar * [HHH-19258] - Remove @​Entity annotation from default revision entities contributed internally by Envers * [HHH-19254] - The return value of st_envelope() is not recognised as a geometry type on MariaDB * [HHH-19246] - Fetch join makes partially covered EntityGraph ineffective * [HHH-19232] - BeanValidationEventListener not called if only associated collection is updated via getter * [HHH-19227] - errors in class OracleSDOFunctionDescriptors * [HHH-19220] - ClassCastException: class org.hibernate.bytecode.enhance.spi.LazyPropertyInitializer$1 cannot be cast to class java.lang.String * [HHH-19206] - Bytecode-enhanced dirty checking ineffective if entity's embedded ID set manually (to same value) * [HHH-19195] - Embeddable inheritance: discriminator values are not hierarchically ordered * [HHH-19173] - PostgreSQLLegacySqlAstTranslator does not implement visitInArrayPredicates * [HHH-19143] - javadoc for 7 links to JPA 3.1 javadoc instead of 3.2 * [HHH-19140] - Enhanced entities with AccessType.PROPERTY does not work well with inheritance * [HHH-19134] - Hibernate processor - find by id fails for entity with composite identifier with @​IdClass * [HHH-19126] - Plural valued paths should be collection-typed instead of element typed * [HHH-19118] - The columnDefinition field of joinColumn does not take effect * [HHH-19116] - Error when using fk() function on left joined many-to-one association and is null predicate * [HHH-19110] - Flush operation fails with "UnsupportedOperationException: compare() not implemented for EntityType" * [HHH-19109] - Hibernate Data Repositories are @​RequestScoped * [HHH-19097] - CoercionException for empty CHAR(1) from MySQL when used with MySQLLegacyDialect * [HHH-19091] - Nested entity classes not properly handled by jpamodelgen * [HHH-19005] - High memory usage for JSON string literals in BasicFormatterImpl * [HHH-18946] - Startup issues with HANA in failover situations * [HHH-18780] - Performance regression on Postgres with polymorphic query due to incorrect casts of null columns * [HHH-17151] - NPE when binding null parameter in native query with explicit TemporalType * [HHH-11801] - AbstractPersistentCollection.SetProxy does not implement equals()

** Deprecation * [HHH-19274] - Deprecate MetadataBuilder#applyIndexView and friends * [HHH-19265] - deprecate hibernate.jdbc.use_scrollable_resultset * [HHH-19253] - deprecate use of lifecycle callbacks on embeddables * [HHH-19063] - Drop forms of SchemaNameResolver performing reflection

** Improvement * [HHH-19271] - support HINT_FETCH_PROFILE in SelectionQuery * [HHH-19260] - Move feature supports methods from the SqlAstTranslator base impl to Dialect * [HHH-19252] - overriding @​Id generation declared by @​MappedSuperclass * [HHH-19223] - Upgrade JBoss Logging Tools (processor) to 3.0.4.Final * [HHH-19219] - Informix Catalog and schema support * [HHH-19210] - Propagate exceptions from building a ValidatorFactory * [HHH-19205] - Do not recreate the validator on each BeanValidationEventListener#validate call * [HHH-19196] - Upgrade to JUnit 5.12.0 * [HHH-19145] - Relicense Hibernate ORM under ASL * [HHH-19142] - StatelessSession.findMultiple() and second-level cache

... (truncated)

Commits
  • 09a8482 Pre-steps for release : 7.0.0.Beta5
  • 982ab4e mention the property setting in migration guide
  • a43dafd add some new features to the migration guide
  • 8b43fdc HHH-19103 add SchemaManager.populate()
  • 25929f7 work on tests for batch fetching
  • 3d49fce deprecate unused SPI method
  • 55180ff fix infoString()
  • 06b5145 HHH-19258 Remove @Entity annotation from default revision entities
  • ac8159c HHH-19258 Add test for issue
  • e037587 HHH-19258 Enable static metamodel generation on envers tests sources
  • 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 show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @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 dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Mar 31, 2025
Bumps [org.hibernate.orm:hibernate-core](https://github.com/hibernate/hibernate-orm) from 7.0.0.Beta3 to 7.0.0.Beta5.
- [Release notes](https://github.com/hibernate/hibernate-orm/releases)
- [Changelog](https://github.com/hibernate/hibernate-orm/blob/main/changelog.txt)
- [Commits](hibernate/hibernate-orm@7.0.0.Beta3...7.0.0.Beta5)

---
updated-dependencies:
- dependency-name: org.hibernate.orm:hibernate-core
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/maven/org.hibernate.orm-hibernate-core-7.0.0.Beta5 branch from baef30a to 9941607 Compare April 1, 2025 03:13
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 15, 2025

Looks like org.hibernate.orm:hibernate-core is updatable in another way, so this is no longer needed.

@mswatosh mswatosh closed this Apr 15, 2025
Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 15, 2025

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/maven/org.hibernate.orm-hibernate-core-7.0.0.Beta5 branch April 15, 2025 15:32
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 java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant