[hibernate/hibernate-orm] fe466d: fix a code example I rushed last night
by Marco Belladelli
Branch: refs/heads/6.5
Home: https://github.com/hibernate/hibernate-orm
Commit: fe466ddea8a148eb6c7fcce9a1b37523cd5b0a51
https://github.com/hibernate/hibernate-orm/commit/fe466ddea8a148eb6c7fcce...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M documentation/src/main/asciidoc/introduction/Generator.adoc
Log Message:
-----------
fix a code example I rushed last night
Commit: 43f70b7263b0892a319282951a41f1c59903a22e
https://github.com/hibernate/hibernate-orm/commit/43f70b7263b0892a3192829...
Author: Marco Belladelli <marco(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M release-announcement.adoc
Log Message:
-----------
Fix release announcement paragraph about assigned generated ids
Commit: c1b08194dbbdce36fee63b7879839dd8ba77c6b1
https://github.com/hibernate/hibernate-orm/commit/c1b08194dbbdce36fee63b7...
Author: Marco Belladelli <marco(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/generator/Generator.java
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idgen/userdefined/SequenceOrAssignedGeneratorTest.java
Log Message:
-----------
HHH-17472 Move `allowAssignedIdentifiers()` up to `Generator` interface
Also test with `@IdGeneratorType`
Commit: 78d1d2bf6780f87594537a86b7e7cf20efc84af3
https://github.com/hibernate/hibernate-orm/commit/78d1d2bf6780f87594537a8...
Author: Marco Belladelli <marco(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M release-announcement.adoc
Log Message:
-----------
HHH-17472 Update 6.5 release announcement using `@IdGeneratorType`
Commit: 77c37448950fb09a1d0a4752bb230dad20e0eba5
https://github.com/hibernate/hibernate-orm/commit/77c37448950fb09a1d0a475...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorBinder.java
Log Message:
-----------
use a static final since we have it sitting there
Commit: 75cbae9a7c2d7a612157d42eae157195ce1e40b1
https://github.com/hibernate/hibernate-orm/commit/75cbae9a7c2d7a612157d42...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/GenericGenerator.java
M hibernate-core/src/main/java/org/hibernate/annotations/GenericGenerators.java
Log Message:
-----------
HHH-17874 deprecate @GenericGenerator
Commit: 65911ae9958e04031b0f60f1e65e54fc2e186eaf
https://github.com/hibernate/hibernate-orm/commit/65911ae9958e04031b0f60f...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/factory/internal/IdentifierGeneratorUtil.java
Log Message:
-----------
extract a method
Commit: 96fc18f4e80c245b2b97eeadf9b775d82507a748
https://github.com/hibernate/hibernate-orm/commit/96fc18f4e80c245b2b97eea...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M Jenkinsfile
Log Message:
-----------
Add Develocity build scan + build cache to Jenkins build
Commit: fb81bb6cfcff2fc9701b6b040aeea6244125f52f
https://github.com/hibernate/hibernate-orm/commit/fb81bb6cfcff2fc9701b6b0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M .github/hibernate-github-bot.yml
Log Message:
-----------
List build scans in a GitHub check
Using hibernate-github-bot.
Commit: 9f9991d893cf71a0259e5490480160b3cce25e48
https://github.com/hibernate/hibernate-orm/commit/9f9991d893cf71a0259e549...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M Jenkinsfile
M gradle/gradle-enterprise.gradle
Log Message:
-----------
Add more tags to build scans
Commit: 2e6ac15aab5457e55cda19b95e215c3f5fad287d
https://github.com/hibernate/hibernate-orm/commit/2e6ac15aab5457e55cda19b...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M gradle/gradle-enterprise.gradle
Log Message:
-----------
Remove non-fonctional "JOB_NAME" custom value in build scans
It doesn't seem to work as we get "JOB null" on every build scan.
Even if it worked, it would most likely only display the top-level job,
e.g. `hibernate-orm-pipeline` on Jenkins, which doesn't give much
information.
Commit: 394d0c8ab247851c3b7e1b252620ae180ca12647
https://github.com/hibernate/hibernate-orm/commit/394d0c8ab247851c3b7e1b2...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/superdao/Book.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/superdao/Repo.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/superdao/SuperRepo.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/superdao/SuperRepoTest.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DefaultConstructor.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/RepositoryConstructor.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/TypeUtils.java
A tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/superdao/Book.java
A tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/superdao/Dao.java
A tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/superdao/SuperDao.java
A tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/superdao/SuperDaoTest.java
Log Message:
-----------
HHH-17873 initial impl of repository inheritance
needed for Jakarta Data, and useful
limited to single inheritance for now
Commit: 2a498d7c7d76f45a628bd4bfcfe29f24e429005b
https://github.com/hibernate/hibernate-orm/commit/2a498d7c7d76f45a628bd4b...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
Log Message:
-----------
HHH-17873 some handling for generics in lifecycle method signatures
Commit: ae56e16b6d6acd1a9c486d0c2ef4a3fda96d2f3b
https://github.com/hibernate/hibernate-orm/commit/ae56e16b6d6acd1a9c486d0...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
Log Message:
-----------
HHH-17873 much better and now spec-compliant handling of repo inheritance
I got the spec changed to make this good :)
Commit: 985887964d475b15cc8ba25e9a284fe37138240b
https://github.com/hibernate/hibernate-orm/commit/985887964d475b15cc8ba25...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/superdao/generic/Book.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/superdao/generic/Repo.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/superdao/generic/SuperRepo.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/superdao/generic/SuperRepoTest.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/superdao/SuperDaoTest.java
A tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/superdao/generic/Book.java
A tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/superdao/generic/Dao.java
A tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/superdao/generic/SuperDao.java
A tooling/metamodel-generator/src/test/java/org/hibernate/processor/test/superdao/generic/SuperDaoTest.java
Log Message:
-----------
HHH-17873 handle generic supertypes of repositories
Commit: edc759f6123c05b50b8c1e3e9c2159e30ece75fb
https://github.com/hibernate/hibernate-orm/commit/edc759f6123c05b50b8c1e3...
Author: Marco Belladelli <marco(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M release-announcement.adoc
Log Message:
-----------
Fix backticks rendering in `release-announcement.adoc`
Commit: 8bc09c976a548cd9b24099d017b1e3c064bfc57a
https://github.com/hibernate/hibernate-orm/commit/8bc09c976a548cd9b24099d...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DataMetaAttributeGenerationVisitor.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/MetaAttributeGenerationVisitor.java
Log Message:
-----------
HHH-17875 validate association mappings in processor
Commit: 50af2eef1584187fbec6c5b54a9211b02494ea5b
https://github.com/hibernate/hibernate-orm/commit/50af2eef1584187fbec6c5b...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/annotations/processing/Suppress.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/onetoone/ShowDescription.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/Constants.java
Log Message:
-----------
introduce @Suppress annotation to disable processor
Commit: 3c1cdec461427474f57afa73aeff4eb91982cf2d
https://github.com/hibernate/hibernate-orm/commit/3c1cdec461427474f57afa7...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
Log Message:
-----------
HHH-17875 validate association mappings in processor
Commit: 7a375edb056a376687de5a3c233a6a9f71dff11e
https://github.com/hibernate/hibernate-orm/commit/7a375edb056a376687de5a3...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M documentation/src/main/asciidoc/querylanguage/Expressions.adoc
Log Message:
-----------
mention that tuples can be compared to embeddables in doc
Commit: c552c24c88d9576e8b4de79c6a176ea12e242278
https://github.com/hibernate/hibernate-orm/commit/c552c24c88d9576e8b4de79...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/BookAuthorRepository.java
A tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/eg/Bookshop.java
M tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/eg/Library.java
M tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/superdao/generic/SuperRepo.java
A tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractCriteriaMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractQueryMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
A tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/CriteriaDeleteMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/CriteriaFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/QueryMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/Constants.java
Log Message:
-----------
HHH-17860 query-based @Delete
Commit: bac64565cda0844333e276496e03620147e2c0de
https://github.com/hibernate/hibernate-orm/commit/bac64565cda0844333e2764...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
Log Message:
-----------
HHH-17860 report bad return type for @Delete
Commit: 3676a9249bb42243b0114ff9a576999b62d038e7
https://github.com/hibernate/hibernate-orm/commit/3676a9249bb42243b0114ff...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractFinderMethod.java
Log Message:
-----------
aesthetic fix to the processor-generated jdoc
Commit: 69c5163d1b6cb471bc7290979408b3b33d396654
https://github.com/hibernate/hibernate-orm/commit/69c5163d1b6cb471bc72909...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/jakartaData/java/org/hibernate/processor/test/data/BookAuthorRepository.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
Log Message:
-----------
we changed Iterable -> List in Data spec
Commit: 361c1469288e29f997e06172aa590b89501d6bf4
https://github.com/hibernate/hibernate-orm/commit/361c1469288e29f997e0617...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/HibernateProcessor.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DataAnnotationMetaAttribute.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/DataMetaAttributeGenerationVisitor.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/Constants.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/TypeUtils.java
Log Message:
-----------
HHH-17864 generate static metamodel fields for embeddables
Commit: 0ef576a19be9a933769d8a0220fe844fe363678f
https://github.com/hibernate/hibernate-orm/commit/0ef576a19be9a933769d8a0...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractCriteriaMethod.java
Log Message:
-----------
simplification to JD generated code
because I got a requirement removed from spec
Commit: 2d9f633188caedfe286d259c34499e229c00a053
https://github.com/hibernate/hibernate-orm/commit/2d9f633188caedfe286d259...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
Log Message:
-----------
move Quarkus Repositories to normal scope
Commit: d1734a39644fc465cd9aa60b3e8bc2b960bde16f
https://github.com/hibernate/hibernate-orm/commit/d1734a39644fc465cd9aa60...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/hibernate-jpamodelgen.gradle
Log Message:
-----------
add missing processor dependencies that are needed in Maven
Gradle didn't need these
Commit: 4dc437b9aa1d453312c304c044aaee97fb05692f
https://github.com/hibernate/hibernate-orm/commit/4dc437b9aa1d453312c304c...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractCriteriaMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AbstractQueryMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/CriteriaDeleteMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/CriteriaFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/QueryMethod.java
Log Message:
-----------
use createMutationQuery() and createSelectionQuery()
squashes a deprecation warning in Maven
Commit: f70c197b14864d6c4af074e035e096e9352b3beb
https://github.com/hibernate/hibernate-orm/commit/f70c197b14864d6c4af074e...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/Assigned.java
Log Message:
-----------
fix an ancient error message
Commit: d3151f0e55d3850730909f16e039a7e5a156ac4c
https://github.com/hibernate/hibernate-orm/commit/d3151f0e55d3850730909f1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M gradle/gradle-enterprise.gradle
M local-build-plugins/src/main/java/org/hibernate/orm/env/EnvironmentSettingsPlugin.java
Log Message:
-----------
Fix db/ci.node not being added to build scan tags
Commit: 2c2413a773cfcd92315332fb3b8e8fdfc5203e36
https://github.com/hibernate/hibernate-orm/commit/2c2413a773cfcd92315332f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M gradle/gradle-enterprise.gradle
M local-build-plugins/build.gradle
M local-build-plugins/src/main/java/org/hibernate/orm/toolchains/JdkVersionSettingsPlugin.java
M settings.gradle
Log Message:
-----------
Tag the JDK used to run tests, not the one used to run Gradle
Commit: a12d589e775d0d235b8f8c5b800eb31d2918d8db
https://github.com/hibernate/hibernate-orm/commit/a12d589e775d0d235b8f8c5...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/annotation/AnnotationMetaEntity.java
Log Message:
-----------
use getAllMembers() when resolving Jakarta Data paths
Commit: be9466ede42fd246a013c2b9bbfc93bd1ed35e0d
https://github.com/hibernate/hibernate-orm/commit/be9466ede42fd246a013c2b...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
Log Message:
-----------
fix a couple of warnings
Commit: ddb23247368599e0d8da5e90e8c1b2700889984d
https://github.com/hibernate/hibernate-orm/commit/ddb23247368599e0d8da5e9...
Author: Marco Belladelli <marco(a)hibernate.org>
Date: 2024-03-25 (Mon, 25 Mar 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorBinder.java
M hibernate-core/src/main/java/org/hibernate/id/factory/internal/IdentifierGeneratorUtil.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idgen/userdefined/SequenceOrAssignedGeneratorTest.java
Log Message:
-----------
HHH-17878 `Configurable` generators and `@IdGeneratorType`
Compare: https://github.com/hibernate/hibernate-orm/compare/dd53ccf5421d...ddb2324...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
9 months, 1 week