[hibernate/hibernate-orm] 314f2d: Revert "HHH-16515 - Add o.h.exception to nullness ...
by Jan Schatteman
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 314f2d7b7a03161095485b7145514d3ef9ec8460
https://github.com/hibernate/hibernate-orm/commit/314f2d7b7a03161095485b7...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2023-07-15 (Sat, 15 Jul 2023)
Changed paths:
M gradle/java-module.gradle
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/BootstrapServiceRegistryBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/internal/BootstrapServiceRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/internal/StandardServiceRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/cache/spi/access/AccessType.java
M hibernate-core/src/main/java/org/hibernate/engine/config/internal/ConfigurationServiceImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/config/spi/ConfigurationService.java
M hibernate-core/src/main/java/org/hibernate/engine/config/spi/StandardConverters.java
M hibernate-core/src/main/java/org/hibernate/engine/jndi/internal/JndiServiceImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AbstractJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AtomikosJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/BitronixJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JBossStandAloneJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JOTMJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaPlatformInitiator.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaPlatformResolverInitiator.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/StandardJtaPlatformResolver.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereLibertyJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WildFlyStandAloneJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/exception/ConstraintViolationException.java
M hibernate-core/src/main/java/org/hibernate/exception/internal/SQLExceptionTypeDelegate.java
M hibernate-core/src/main/java/org/hibernate/exception/internal/SQLStateConversionDelegate.java
M hibernate-core/src/main/java/org/hibernate/exception/internal/StandardSQLExceptionConverter.java
M hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConversionDelegate.java
M hibernate-core/src/main/java/org/hibernate/exception/spi/TemplatedViolatedConstraintNameExtractor.java
M hibernate-core/src/main/java/org/hibernate/exception/spi/ViolatedConstraintNameExtractor.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceMismatchStrategy.java
M hibernate-core/src/main/java/org/hibernate/integrator/internal/IntegratorServiceImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/util/config/ConfigurationHelper.java
M hibernate-core/src/main/java/org/hibernate/service/ServiceRegistry.java
M hibernate-core/src/main/java/org/hibernate/service/internal/AbstractServiceRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/service/internal/SessionFactoryServiceRegistryBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/service/internal/SessionFactoryServiceRegistryFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/service/internal/SessionFactoryServiceRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/service/spi/ServiceBinding.java
M hibernate-core/src/main/java/org/hibernate/service/spi/ServiceRegistryImplementor.java
M hibernate-core/src/main/java/org/hibernate/stat/internal/StatisticsInitiator.java
M hibernate-core/src/main/java/org/hibernate/type/WrapperArrayHandling.java
M hibernate-core/src/test/java/org/hibernate/orm/test/connection/ConnectionCreatorTest.java
M hibernate-micrometer/src/main/java/org/hibernate/stat/HibernateQueryMetrics.java
M hibernate-testing/src/main/java/org/hibernate/testing/boot/ServiceRegistryTestingImpl.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockSessionFactory.java
Log Message:
-----------
Revert "HHH-16515 - Add o.h.exception to nullness checking"
This reverts commit c5c3bb8ac8ae3ec657126d0ac01b55f416a8ff99.
1 year, 4 months
[hibernate/hibernate-orm] ec8d57: path expressions in finder method parameter names
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: ec8d574e4ac2440a84219bedebf931f118367cba
https://github.com/hibernate/hibernate-orm/commit/ec8d574e4ac2440a84219be...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-14 (Fri, 14 Jul 2023)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractQueryMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/CriteriaFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/IdFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NaturalIdFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/QueryMethod.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Book.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Dao.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Publisher.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/QueryMethodTest.java
Log Message:
-----------
path expressions in finder method parameter names
this sounds a bit crazy but why not?
1 year, 4 months
[hibernate/hibernate-orm] c5c3bb: HHH-16515 - Add o.h.exception to nullness checking
by Jan Schatteman
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: c5c3bb8ac8ae3ec657126d0ac01b55f416a8ff99
https://github.com/hibernate/hibernate-orm/commit/c5c3bb8ac8ae3ec657126d0...
Author: Jan Schatteman <jschatte(a)redhat.com>
Date: 2023-07-14 (Fri, 14 Jul 2023)
Changed paths:
M gradle/java-module.gradle
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/BootstrapServiceRegistryBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/StandardServiceRegistryBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/internal/BootstrapServiceRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/registry/internal/StandardServiceRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/cache/spi/access/AccessType.java
M hibernate-core/src/main/java/org/hibernate/engine/config/internal/ConfigurationServiceImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/config/spi/ConfigurationService.java
M hibernate-core/src/main/java/org/hibernate/engine/config/spi/StandardConverters.java
M hibernate-core/src/main/java/org/hibernate/engine/jndi/internal/JndiServiceImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AbstractJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/AtomikosJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/BitronixJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JBossStandAloneJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JOTMJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaPlatformInitiator.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/JtaPlatformResolverInitiator.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/StandardJtaPlatformResolver.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WebSphereLibertyJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/engine/transaction/jta/platform/internal/WildFlyStandAloneJtaPlatform.java
M hibernate-core/src/main/java/org/hibernate/exception/ConstraintViolationException.java
M hibernate-core/src/main/java/org/hibernate/exception/internal/SQLExceptionTypeDelegate.java
M hibernate-core/src/main/java/org/hibernate/exception/internal/SQLStateConversionDelegate.java
M hibernate-core/src/main/java/org/hibernate/exception/internal/StandardSQLExceptionConverter.java
M hibernate-core/src/main/java/org/hibernate/exception/spi/SQLExceptionConversionDelegate.java
M hibernate-core/src/main/java/org/hibernate/exception/spi/TemplatedViolatedConstraintNameExtractor.java
M hibernate-core/src/main/java/org/hibernate/exception/spi/ViolatedConstraintNameExtractor.java
M hibernate-core/src/main/java/org/hibernate/id/SequenceMismatchStrategy.java
M hibernate-core/src/main/java/org/hibernate/integrator/internal/IntegratorServiceImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/util/config/ConfigurationHelper.java
M hibernate-core/src/main/java/org/hibernate/service/ServiceRegistry.java
M hibernate-core/src/main/java/org/hibernate/service/internal/AbstractServiceRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/service/internal/SessionFactoryServiceRegistryBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/service/internal/SessionFactoryServiceRegistryFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/service/internal/SessionFactoryServiceRegistryImpl.java
M hibernate-core/src/main/java/org/hibernate/service/spi/ServiceBinding.java
M hibernate-core/src/main/java/org/hibernate/service/spi/ServiceRegistryImplementor.java
M hibernate-core/src/main/java/org/hibernate/stat/internal/StatisticsInitiator.java
M hibernate-core/src/main/java/org/hibernate/type/WrapperArrayHandling.java
M hibernate-core/src/test/java/org/hibernate/orm/test/connection/ConnectionCreatorTest.java
M hibernate-micrometer/src/main/java/org/hibernate/stat/HibernateQueryMetrics.java
M hibernate-testing/src/main/java/org/hibernate/testing/boot/ServiceRegistryTestingImpl.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/validation/MockSessionFactory.java
Log Message:
-----------
HHH-16515 - Add o.h.exception to nullness checking
HHH-16515 - Add o.h.integrator to nullness checking
HHH-16515 - Add o.h.service to nullness checking
HHH-16515 - Add o.h.engine.jndi to nullness checking
HHH-16515 - Add o.h.engine.config to nullness checking
Signed-off-by: Jan Schatteman <jschatte(a)redhat.com>
1 year, 4 months
[hibernate/hibernate-orm] 803cd6: HHH-16633 allow finder and query methods to accept...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 803cd6aa1e8995a0504d5b997a30dde34f7c0582
https://github.com/hibernate/hibernate-orm/commit/803cd6aa1e8995a0504d5b9...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-14 (Fri, 14 Jul 2023)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractFinderMethod.java
A tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractQueryMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/CriteriaFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/IdFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NaturalIdFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/QueryMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/util/Constants.java
A tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Books.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/QueryMethodTest.java
Log Message:
-----------
HHH-16633 allow finder and query methods to accept the session type as a parameter
Commit: ded5451436ce5e6e0358b89dc590b9ac047f5941
https://github.com/hibernate/hibernate-orm/commit/ded5451436ce5e6e0358b89...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-14 (Fri, 14 Jul 2023)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AbstractQueryMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/AnnotationMetaEntity.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/CriteriaFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/IdFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/NaturalIdFinderMethod.java
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/QueryMethod.java
M tooling/metamodel-generator/src/test/java/org/hibernate/jpamodelgen/test/hqlsql/Books.java
Log Message:
-----------
HHH-16633 allow finder and query methods to accept the session (better impl)
Commit: ec830945e6d2e900b254585329ef6f35b5c34d07
https://github.com/hibernate/hibernate-orm/commit/ec830945e6d2e900b254585...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2023-07-14 (Fri, 14 Jul 2023)
Changed paths:
M tooling/metamodel-generator/src/main/java/org/hibernate/jpamodelgen/annotation/QueryMethod.java
Log Message:
-----------
HHH-16633 improve jdoc for query methods
Compare: https://github.com/hibernate/hibernate-orm/compare/a80224f921e5...ec83094...
1 year, 4 months