Skip to content
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

chore(deps): bump hibernate.version from 6.3.1.Final to 6.6.1.Final #715

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 17, 2024

Bumps hibernate.version from 6.3.1.Final to 6.6.1.Final.
Updates org.hibernate.orm:hibernate-core from 6.3.1.Final to 6.6.1.Final

Release notes

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

Hibernate ORM 6.6.1.Final released

Today, we published a new maintenance release of Hibernate ORM 6.6: 6.6.1.Final.

What's new

This release introduces a few minor improvements as well as bug fixes.

You can find the full list of 6.6.1.Final changes here.

Conclusion

For additional details, see:

See also the following resources related to supported APIs:

Visit the website for details on getting in touch with us.

Hibernate ORM 6.6.0.CR1 released

Today, we published a new candidate release of Hibernate ORM 6.6: 6.6.0.CR1.

What's new

This release introduces a lot of improvements as well as bug fixes.

Please refer to the release announcement for details. You can find the full list of 6.6.0.CR1 changes here.

Conclusion

For additional details, see:

See also the following resources related to supported APIs:

... (truncated)

Changelog

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

Changes in 6.6.1.Final (September 17, 2024)

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

** Bug * [HHH-18571] - Entities and collections with batch size 1 are treated as batchable * [HHH-18560] - DB2iDialect executes incompatible query in combination with @​AuditJoinTable mapping * [HHH-18558] - Informix UUID type support * [HHH-18556] - Expressions.nullExpresion() in querydsl result in NPE in SqmExpressible * [HHH-18531] - Informix timestamp literal error * [HHH-18524] - @​IdClass and composite key generation not working with meta-annotated @​IdGenerationType * [HHH-18518] - MySQLDialect fails to detect version on azure flexible server * [HHH-18511] - ArrayIndexOutOfBoundsException in ImmutableFetchList * [HHH-18506] - Flush performance degradation due to itable stubs * [HHH-18503] - ID select criteria query fails with joined + discriminator inheritance when entity has subtypes * [HHH-18502] - Type conversion error due to surprising javac method selection in SqmSubQuery#in * [HHH-18493] - Resolving already initialized collection elements leads to assertion error * [HHH-18490] - Static metamodel contains wrong type for Embeddable with generic attribute extending from mapped superclass * [HHH-18489] - Lazy, unowned one-to-one associations get loaded eagerly in queries - even with bytecode enhancement * [HHH-18487] - Error: Detached entity wiht id X has an uninitialized version value '1'' * [HHH-18486] - Unable to add Persist the object because of EntityNameResolver being ignored * [HHH-18484] - Update fails when a many-to-one property on an entity with a generated value is changed * [HHH-18480] - ClassCastException when updating a Blob with Oracle * [HHH-18478] - Cannot invoke "org.hibernate.persister.entity.EntityPersister.getSubclassId()" because "data.concreteDescriptor" is null when reloading entity from query cache * [HHH-18476] - Fetchable scrolling with KeyToOne leads to assertion error * [HHH-18472] - Fix memory issues for release job * [HHH-18470] - Duplicate foreign key names generated for inheritance type TABLE_PER_CLASS * [HHH-18469] - Assertion Error when fetch joining complex entities structure * [HHH-18466] - Regression from 5.6.15.Final where a mutable natural IDs query cannot find an entity * [HHH-18447] - cast as boolean broken in Hibernate 6 * [HHH-18445] - Embeddable as Java Record has wrong order of columns * [HHH-18439] - NullPointerException when access data from query cache * [HHH-18436] - Wrong order-by rendering order for nested collections if loaded with entity graph * [HHH-18414] - Duplicated filter applied to 'find()' method * [HHH-18400] - AttributeConverter causing type-check failure when comparing Date field to parameter * [HHH-18353] - ArrayConstructorFunction comparing argument types by reference causes FunctionArgumentException * [HHH-18337] - SequenceStyleGenerator not respecting physical naming strategy * [HHH-18282] - generate error sql in case of @​DiscriminatorValue("not null") and the entity is superclass of other entity * [HHH-18174] - Hibernate polymorphic join in complex subquery not using discriminator * [HHH-18103] - MappedSuperclass handling for Embeddable is broken in metamodel

** Improvement * [HHH-18625] - Add Configurable#create(GeneratorCreationContext) * [HHH-18507] - allow overwriting the default db image with environment variable in docker_db.sh * [HHH-18459] - Add SingleStore community dialect * [HHH-17646] - JOINED @​Inheritance leads to bad performance in Hibernate 6

** Task * [HHH-18612] - Avoid writing files to classpath in tests to avoid spurious failures

... (truncated)

Commits
  • 2c6b91d Pre-steps for release : 6.6.1.Final
  • 3e215b5 HHH-18337 - SequenceStyleGenerator not respecting physical naming strategy
  • efd4528 HHH-18337 - SequenceStyleGenerator not respecting physical naming strategy
  • 744732b HHH-18174 Fix junction entity name uses algorithm for subqueries
  • 0e9577a HHH-18174 Add test for issue
  • 9c5cf75 HHH-18447 Try using native cast for string to boolean
  • 723e18d HHH-18337 - SequenceStyleGenerator not respecting physical naming strategy
  • 88bcc71 HHH-18337 Account for physical naming strategy when querying db sequence
  • 7c66788 HHH-18337 Add test for issue
  • b09b27c HHH-18625 - Add Configurable#create(GeneratorCreationContext)
  • Additional commits viewable in compare view

Updates org.hibernate.orm:hibernate-envers from 6.3.1.Final to 6.6.1.Final

Release notes

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

Hibernate ORM 6.6.1.Final released

Today, we published a new maintenance release of Hibernate ORM 6.6: 6.6.1.Final.

What's new

This release introduces a few minor improvements as well as bug fixes.

You can find the full list of 6.6.1.Final changes here.

Conclusion

For additional details, see:

See also the following resources related to supported APIs:

Visit the website for details on getting in touch with us.

Hibernate ORM 6.6.0.CR1 released

Today, we published a new candidate release of Hibernate ORM 6.6: 6.6.0.CR1.

What's new

This release introduces a lot of improvements as well as bug fixes.

Please refer to the release announcement for details. You can find the full list of 6.6.0.CR1 changes here.

Conclusion

For additional details, see:

See also the following resources related to supported APIs:

... (truncated)

Changelog

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

Changes in 6.6.1.Final (September 17, 2024)

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

** Bug * [HHH-18571] - Entities and collections with batch size 1 are treated as batchable * [HHH-18560] - DB2iDialect executes incompatible query in combination with @​AuditJoinTable mapping * [HHH-18558] - Informix UUID type support * [HHH-18556] - Expressions.nullExpresion() in querydsl result in NPE in SqmExpressible * [HHH-18531] - Informix timestamp literal error * [HHH-18524] - @​IdClass and composite key generation not working with meta-annotated @​IdGenerationType * [HHH-18518] - MySQLDialect fails to detect version on azure flexible server * [HHH-18511] - ArrayIndexOutOfBoundsException in ImmutableFetchList * [HHH-18506] - Flush performance degradation due to itable stubs * [HHH-18503] - ID select criteria query fails with joined + discriminator inheritance when entity has subtypes * [HHH-18502] - Type conversion error due to surprising javac method selection in SqmSubQuery#in * [HHH-18493] - Resolving already initialized collection elements leads to assertion error * [HHH-18490] - Static metamodel contains wrong type for Embeddable with generic attribute extending from mapped superclass * [HHH-18489] - Lazy, unowned one-to-one associations get loaded eagerly in queries - even with bytecode enhancement * [HHH-18487] - Error: Detached entity wiht id X has an uninitialized version value '1'' * [HHH-18486] - Unable to add Persist the object because of EntityNameResolver being ignored * [HHH-18484] - Update fails when a many-to-one property on an entity with a generated value is changed * [HHH-18480] - ClassCastException when updating a Blob with Oracle * [HHH-18478] - Cannot invoke "org.hibernate.persister.entity.EntityPersister.getSubclassId()" because "data.concreteDescriptor" is null when reloading entity from query cache * [HHH-18476] - Fetchable scrolling with KeyToOne leads to assertion error * [HHH-18472] - Fix memory issues for release job * [HHH-18470] - Duplicate foreign key names generated for inheritance type TABLE_PER_CLASS * [HHH-18469] - Assertion Error when fetch joining complex entities structure * [HHH-18466] - Regression from 5.6.15.Final where a mutable natural IDs query cannot find an entity * [HHH-18447] - cast as boolean broken in Hibernate 6 * [HHH-18445] - Embeddable as Java Record has wrong order of columns * [HHH-18439] - NullPointerException when access data from query cache * [HHH-18436] - Wrong order-by rendering order for nested collections if loaded with entity graph * [HHH-18414] - Duplicated filter applied to 'find()' method * [HHH-18400] - AttributeConverter causing type-check failure when comparing Date field to parameter * [HHH-18353] - ArrayConstructorFunction comparing argument types by reference causes FunctionArgumentException * [HHH-18337] - SequenceStyleGenerator not respecting physical naming strategy * [HHH-18282] - generate error sql in case of @​DiscriminatorValue("not null") and the entity is superclass of other entity * [HHH-18174] - Hibernate polymorphic join in complex subquery not using discriminator * [HHH-18103] - MappedSuperclass handling for Embeddable is broken in metamodel

** Improvement * [HHH-18625] - Add Configurable#create(GeneratorCreationContext) * [HHH-18507] - allow overwriting the default db image with environment variable in docker_db.sh * [HHH-18459] - Add SingleStore community dialect * [HHH-17646] - JOINED @​Inheritance leads to bad performance in Hibernate 6

** Task * [HHH-18612] - Avoid writing files to classpath in tests to avoid spurious failures

... (truncated)

Commits
  • 2c6b91d Pre-steps for release : 6.6.1.Final
  • 3e215b5 HHH-18337 - SequenceStyleGenerator not respecting physical naming strategy
  • efd4528 HHH-18337 - SequenceStyleGenerator not respecting physical naming strategy
  • 744732b HHH-18174 Fix junction entity name uses algorithm for subqueries
  • 0e9577a HHH-18174 Add test for issue
  • 9c5cf75 HHH-18447 Try using native cast for string to boolean
  • 723e18d HHH-18337 - SequenceStyleGenerator not respecting physical naming strategy
  • 88bcc71 HHH-18337 Account for physical naming strategy when querying db sequence
  • 7c66788 HHH-18337 Add test for issue
  • b09b27c HHH-18625 - Add Configurable#create(GeneratorCreationContext)
  • Additional commits viewable in compare view

You can trigger a rebase of this PR 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)

Note
Automatic rebases have been disabled on this pull request as it has been open for over 30 days.

@filipelautert
Copy link
Collaborator

@dependabot rebase

Bumps `hibernate.version` from 6.3.1.Final to 6.6.1.Final.

Updates `org.hibernate.orm:hibernate-core` from 6.3.1.Final to 6.6.1.Final
- [Release notes](https://github.com/hibernate/hibernate-orm/releases)
- [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.6.1/changelog.txt)
- [Commits](hibernate/hibernate-orm@6.3.1...6.6.1)

Updates `org.hibernate.orm:hibernate-envers` from 6.3.1.Final to 6.6.1.Final
- [Release notes](https://github.com/hibernate/hibernate-orm/releases)
- [Changelog](https://github.com/hibernate/hibernate-orm/blob/6.6.1/changelog.txt)
- [Commits](hibernate/hibernate-orm@6.3.1...6.6.1)

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

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot force-pushed the dependabot/maven/hibernate.version-6.6.1.Final branch from fa42eba to f5bf5a5 Compare October 8, 2024 15:24
}


public Connection getConnection(String tenantIdentifier) throws SQLException {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'tenantIdentifier' is never used.
return getConnection();
}

public Connection getConnection(Object o) throws SQLException {

Check notice

Code scanning / CodeQL

Confusing overloading of methods Note

Method NoOpConnectionProvider.getConnection(..) could be confused with overloaded method
getConnection
, since dispatch depends on static types.
return getConnection();
}

public Connection getConnection(Object o) throws SQLException {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'o' is never used.
return getConnection();
}

public void releaseConnection(Object tenantIdentifier, Connection connection) throws SQLException {

Check notice

Code scanning / CodeQL

Confusing overloading of methods Note

Method NoOpConnectionProvider.releaseConnection(..) could be confused with overloaded method
releaseConnection
, since dispatch depends on static types.
return getConnection();
}

public void releaseConnection(Object tenantIdentifier, Connection connection) throws SQLException {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'tenantIdentifier' is never used.
return null;
}

public void releaseConnection(String s, Connection connection) throws SQLException {

Check notice

Code scanning / CodeQL

Useless parameter Note

The parameter 'connection' is never used.

}

public Connection getConnection(Object tenantIdentifier) throws SQLException {

Check notice

Code scanning / CodeQL

Confusing overloading of methods Note

Method NoOpMultiTenantConnectionProvider.getConnection(..) could be confused with overloaded method
getConnection
, since dispatch depends on static types.

}

public Connection getConnection(Object tenantIdentifier) throws SQLException {

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
MultiTenantConnectionProvider<>.getConnection
; it is advisable to add an Override annotation.
return null;
}

public void releaseConnection(Object tenantIdentifier, Connection connection) throws SQLException {

Check notice

Code scanning / CodeQL

Confusing overloading of methods Note

Method NoOpMultiTenantConnectionProvider.releaseConnection(..) could be confused with overloaded method
releaseConnection
, since dispatch depends on static types.
return null;
}

public void releaseConnection(Object tenantIdentifier, Connection connection) throws SQLException {

Check notice

Code scanning / CodeQL

Missing Override annotation Note

This method overrides
MultiTenantConnectionProvider<>.releaseConnection
; it is advisable to add an Override annotation.
@filipelautert
Copy link
Collaborator

@tati-qalified I had to do some refactoring to make sure the extension works with Hibernate 6.3.x to 6.6.x . Could you test this branch artifacts with both versions to confirm I didn't break anything? Thanks

@tati-qalified
Copy link

@filipelautert I tested the artifacts from this PR with Hibernate versions 6.3.1.Final and 6.6.1.Final. Both work as expected and generate the same changelog when running mvn liquibase:diff.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants