java-docs-samples
java-docs-samples copied to clipboard
fix(deps): update dependency org.hibernate:hibernate-core to v6
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| org.hibernate:hibernate-core (source) | 5.6.5.Final -> 6.0.0.Final |
Release Notes
hibernate/hibernate-orm
v6.0.0.Final
https://hibernate.atlassian.net/projects/HHH/versions/32049
** Bug * [HHH-15131] - JPA Compliance issue with Envers * [HHH-15118] - PooledOptimizer generates duplicate ids when several JVMs initialize optimizer and sequence value is the initial value * [HHH-15117] - ConstraintViolationException is thrown using same @SecondaryTable on two entities * [HHH-15115] - Deleting an entity with Joined inheritance and default schema set is throwing and error * [HHH-15113] - Exception setting ParameterExpressions on Update Queries * [HHH-15111] - MappingException is thrown for @JoinColumn with referencedColumnName on a @SecondaryTable * [HHH-15105] - Getting the CacheRegionStatistics before executing a query leads to a NPE later on * [HHH-15098] - suboptimal/incorrect behavior when updating managed oneToMany collection on entity with naturalId * [HHH-15091] - EntityManager.persist does not verify the existence of the one side of a many-to-one relationship, introduced 5.4.17 * [HHH-14487] - PropertyAccessStrategyMapImpl imports wrong class
** Improvement * [HHH-15144] - Add IncubationLogger * [HHH-15143] - Add an "implicit naming strategy" for database structures (sequence and tables) for identifier generators * [HHH-15138] - Remove support for Eviction Listeners in BoundedConcurrentHashMap * [HHH-15078] - Support for Tuple and SelectionQuery * [HHH-15055] - Document SelectionQuery and MutationQuery * [HHH-14672] - Allow specifying CHAR-based storage for UUID mappings * [HHH-14510] - Remove deprecated id-gen related contracts and classes * [HHH-13135] - Add support for KEY/NO KEY locking in PostgreSQL
** New Feature * [HHH-14739] - Implement ILike support in 6
** Task * [HHH-15139] - Improvements for QueryInterpretationCache * [HHH-15133] - Use specified result-type to better infer "shape" of query results with implicit selections * [HHH-15132] - Improvements for NavigablePath * [HHH-15119] - Upgrade to ByteBuddy 1.12.8 * [HHH-15107] - Update build to make tests pass against JDK19 * [HHH-14884] - More improvements to Domain Model chapter of the User Guide * [HHH-14872] - Re-enable hibernate-gradle-plugin
v5.6.8.Final
v5.6.7.Final
v5.6.6.Final
Configuration
📅 Schedule: At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Never, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
- [ ] If you want to rebase/retry this PR, click this checkbox.
This PR has been generated by WhiteSource Renovate. View repository job log here.
Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.
#
# spanner/hibernate
#
[ERROR] COMPILATION ERROR :
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[21,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[22,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[23,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[24,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[25,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[26,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[32,2] cannot find symbol
symbol: class Entity
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[33,2] cannot find symbol
symbol: class Inheritance
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/WireTransferPayment.java:[19,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/WireTransferPayment.java:[20,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/WireTransferPayment.java:[22,2] cannot find symbol
symbol: class Entity
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[22,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[23,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[24,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[25,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[26,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[27,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[28,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[34,2] cannot find symbol
symbol: class Entity
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[36,2] cannot find symbol
symbol: class Table
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/CreditCardPayment.java:[19,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/CreditCardPayment.java:[20,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/CreditCardPayment.java:[22,2] cannot find symbol
symbol: class Entity
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[33,25] cannot find symbol
symbol: variable InheritanceType
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[36,4] cannot find symbol
symbol: class Id
location: class com.example.spanner.Payment
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[37,4] cannot find symbol
symbol: class GeneratedValue
location: class com.example.spanner.Payment
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[37,30] cannot find symbol
symbol: variable GenerationType
location: class com.example.spanner.Payment
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[38,9] cannot find symbol
symbol: method type()
location: @interface org.hibernate.annotations.Type
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/WireTransferPayment.java:[25,4] cannot find symbol
symbol: class Column
location: class com.example.spanner.WireTransferPayment
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[41,4] cannot find symbol
symbol: class Id
location: class com.example.spanner.Person
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[42,4] cannot find symbol
symbol: class GeneratedValue
location: class com.example.spanner.Person
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[42,30] cannot find symbol
symbol: variable GenerationType
location: class com.example.spanner.Person
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[43,9] cannot find symbol
symbol: method type()
location: @interface org.hibernate.annotations.Type
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[54,4] cannot find symbol
symbol: class OneToMany
location: class com.example.spanner.Person
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[54,24] cannot find symbol
symbol: variable CascadeType
location: class com.example.spanner.Person
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/CreditCardPayment.java:[25,4] cannot find symbol
symbol: class Column
location: class com.example.spanner.CreditCardPayment
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[38,3] annotation @org.hibernate.annotations.Type is missing a default value for the element 'value'
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[43,3] annotation @org.hibernate.annotations.Type is missing a default value for the element 'value'
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project cloud-spanner-hibernate: Compilation failure: Compilation failure:
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[21,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[22,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[23,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[24,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[25,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[26,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[32,2] cannot find symbol
[ERROR] symbol: class Entity
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[33,2] cannot find symbol
[ERROR] symbol: class Inheritance
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/WireTransferPayment.java:[19,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/WireTransferPayment.java:[20,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/WireTransferPayment.java:[22,2] cannot find symbol
[ERROR] symbol: class Entity
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[22,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[23,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[24,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[25,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[26,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[27,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[28,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[34,2] cannot find symbol
[ERROR] symbol: class Entity
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[36,2] cannot find symbol
[ERROR] symbol: class Table
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/CreditCardPayment.java:[19,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/CreditCardPayment.java:[20,25] package javax.persistence does not exist
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/CreditCardPayment.java:[22,2] cannot find symbol
[ERROR] symbol: class Entity
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[33,25] cannot find symbol
[ERROR] symbol: variable InheritanceType
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[36,4] cannot find symbol
[ERROR] symbol: class Id
[ERROR] location: class com.example.spanner.Payment
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[37,4] cannot find symbol
[ERROR] symbol: class GeneratedValue
[ERROR] location: class com.example.spanner.Payment
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[37,30] cannot find symbol
[ERROR] symbol: variable GenerationType
[ERROR] location: class com.example.spanner.Payment
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[38,9] cannot find symbol
[ERROR] symbol: method type()
[ERROR] location: @interface org.hibernate.annotations.Type
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/WireTransferPayment.java:[25,4] cannot find symbol
[ERROR] symbol: class Column
[ERROR] location: class com.example.spanner.WireTransferPayment
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[41,4] cannot find symbol
[ERROR] symbol: class Id
[ERROR] location: class com.example.spanner.Person
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[42,4] cannot find symbol
[ERROR] symbol: class GeneratedValue
[ERROR] location: class com.example.spanner.Person
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[42,30] cannot find symbol
[ERROR] symbol: variable GenerationType
[ERROR] location: class com.example.spanner.Person
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[43,9] cannot find symbol
[ERROR] symbol: method type()
[ERROR] location: @interface org.hibernate.annotations.Type
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[54,4] cannot find symbol
[ERROR] symbol: class OneToMany
[ERROR] location: class com.example.spanner.Person
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[54,24] cannot find symbol
[ERROR] symbol: variable CascadeType
[ERROR] location: class com.example.spanner.Person
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/CreditCardPayment.java:[25,4] cannot find symbol
[ERROR] symbol: class Column
[ERROR] location: class com.example.spanner.CreditCardPayment
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Payment.java:[38,3] annotation @org.hibernate.annotations.Type is missing a default value for the element 'value'
[ERROR] /tmpfs/src/github/java-docs-samples/spanner/hibernate/src/main/java/com/example/spanner/Person.java:[43,3] annotation @org.hibernate.annotations.Type is missing a default value for the element 'value'
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
Testing failed: Maven returned a non-zero exit code.
err: exit status 1
@elefeint Do we support Hibernate 6 for Spanner?
Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.
Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.
@elefeint Do we support Hibernate 6 for Spanner?
Assigning to @elefeint to address that question.
@meredithslota Cloud Spanner Hibernate dialect for version 6 exists and lives in the Hibernate repository, unlike the Hibernate dialect for version 5.5, which lives under GoogleCloudPlatform.
The upgrade from Hibernate 5.5 to 6 will have to be done manually (migration guide); you can assign the task to me.
The immediate compilation problem is due to Hibernate 6 using Jakarta namespace instead of legacy javax. namespace.
Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.
Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.
Merge-on-green attempted to merge your PR for 6 hours, but it was not mergeable because either one of your required status checks failed, one of your required reviews was not approved, or there is a do not merge label. Learn more about your required status checks here: https://help.github.com/en/github/administering-a-repository/enabling-required-status-checks. You can remove and reapply the label to re-run the bot.
Renovate Ignore Notification
As this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 6.x releases. However, if you upgrade to 6.x manually then Renovate will reenable minor and patch updates automatically.
If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened.