[hibernate/hibernate-orm] 16eece: HHH-17347 Support for JDK which do not support JFR...
by Andrea Boriero
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 16eecea9d050a7a40f1e5fde4a50776249aad934
https://github.com/hibernate/hibernate-orm/commit/16eecea9d050a7a40f1e5fd...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-11-17 (Fri, 17 Nov 2023)
Changed paths:
M gradle/java-module.gradle
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java
M hibernate-core/src/main/java/org/hibernate/cache/internal/QueryResultsCacheImpl.java
M hibernate-core/src/main/java/org/hibernate/cache/internal/TimestampsCacheEnabledImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/CacheHelper.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdResolutionsImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/BatchImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/JdbcEnvironmentInitiator.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/MutationStatementPreparerImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/ResultSetReturnImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/StatementPreparerImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultAutoFlushEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultFlushEntityEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultFlushEventListener.java
A hibernate-core/src/main/java/org/hibernate/event/internal/EmptyEventManager.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/CacheGetEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/CachePutEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/DirtyCalculationEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/FlushEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/JdbcBatchExecutionEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/JdbcConnectionAcquisitionEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/JdbcConnectionReleaseEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/JdbcPreparedStatementCreationEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/JdbcPreparedStatementExecutionEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/PartialFlushEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/SessionClosedEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/SessionOpenEvent.java
R hibernate-core/src/main/java/org/hibernate/event/jfr/internal/JfrEventManager.java
A hibernate-core/src/main/java/org/hibernate/event/spi/EventManager.java
A hibernate-core/src/main/java/org/hibernate/event/spi/HibernateEvent.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableStructure.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/ContextualJdbcConnectionAccess.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-core/src/main/java/org/hibernate/internal/NonContextualJdbcConnectionAccess.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/spi/JdbcSessionOwner.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/StandardJdbcMutationExecutor.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/ResultsHelper.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/DeferredResultSetAccess.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/DirtyCalculationEventTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/JdbcBatchExecutionEventTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/JdbcConnectionEventTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/JdbcPreparedStatementEventTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/SessionEventTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/cache/CacheGetEventTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/cache/EntityInsertCachePutEventTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/cache/EntityUpdateCachePutEventTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/cache/NaturalIdGetCacheTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/cache/NaturalIdPutCacheTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/cache/QueryCachePutEventTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/flush/AutoFlushTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/flush/ExplicitFlushTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/flush/FlushTests.java
R hibernate-core/src/test/java17/org/hibernate/orm/test/event/jfr/package-info.java
A hibernate-jfr/hibernate-jfr.gradle
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CacheGetEvent.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CachePutEvent.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/DirtyCalculationEvent.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/FlushEvent.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcBatchExecutionEvent.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionAcquisitionEvent.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionReleaseEvent.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementCreationEvent.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementExecutionEvent.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JfrEventManager.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/PartialFlushEvent.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionClosedEvent.java
A hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionOpenEvent.java
A hibernate-jfr/src/main/resources/META-INF/services/org.hibernate.event.spi.EventManager
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/DirtyCalculationEventTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/JdbcBatchExecutionEventTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/JdbcConnectionEventTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/JdbcPreparedStatementEventTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/SessionEventTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/cache/CacheGetEventTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/cache/EntityInsertCachePutEventTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/cache/EntityUpdateCachePutEventTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/cache/NaturalIdGetCacheTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/cache/NaturalIdPutCacheTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/cache/QueryCachePutEventTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/flush/AutoFlushTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/flush/ExplicitFlushTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/flush/FlushTests.java
A hibernate-jfr/src/test/java/org/hibernate/event/jfr/package-info.java
A hibernate-jfr/src/test/resources/hibernate.properties
A hibernate-jfr/src/test/resources/log4j2.properties
M settings.gradle
Log Message:
-----------
HHH-17347 Support for JDK which do not support JFR events
Commit: 1b2be490454048c4ac420c421196206aa005dc91
https://github.com/hibernate/hibernate-orm/commit/1b2be490454048c4ac420c4...
Author: Sanne Grinovero <sanne(a)hibernate.org>
Date: 2023-11-17 (Fri, 17 Nov 2023)
Changed paths:
M gradle.properties
M hibernate-jfr/hibernate-jfr.gradle
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JfrEventManager.java
M hibernate-jfr/src/test/java/org/hibernate/event/jfr/SessionEventTests.java
Log Message:
-----------
HHH-17347 Support for JDK which do not support JFR events
Commit: 8492d1c4b84a39c93cacdbed06159b34ea3031fa
https://github.com/hibernate/hibernate-orm/commit/8492d1c4b84a39c93cacdbe...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-11-17 (Fri, 17 Nov 2023)
Changed paths:
M hibernate-jfr/hibernate-jfr.gradle
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/FlushEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JfrEventManager.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/PartialFlushEvent.java
M hibernate-jfr/src/test/java/org/hibernate/event/jfr/DirtyCalculationEventTests.java
Log Message:
-----------
HHH-17347 Support for JDK which do not support JFR events
Commit: afbce7cf8a0542174f7ac64a40c39ccd4a229956
https://github.com/hibernate/hibernate-orm/commit/afbce7cf8a0542174f7ac64...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-11-17 (Fri, 17 Nov 2023)
Changed paths:
M gradle.properties
M hibernate-jfr/hibernate-jfr.gradle
Log Message:
-----------
HHH-17347 Support for JDK which do not support JFR events
Commit: 9f1f8e6c09b77333935c65eebc8df5613c3af9f6
https://github.com/hibernate/hibernate-orm/commit/9f1f8e6c09b77333935c65e...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-11-17 (Fri, 17 Nov 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/JdbcEnvironmentInitiator.java
M hibernate-core/src/main/java/org/hibernate/event/internal/EmptyEventManager.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-jfr/hibernate-jfr.gradle
Log Message:
-----------
HHH-17347 Support for JDK which do not support JFR events
Commit: d61749374a3df975bd3f89ac5c8be1fbc95c8e1e
https://github.com/hibernate/hibernate-orm/commit/d61749374a3df975bd3f89a...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-11-17 (Fri, 17 Nov 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityInsertAction.java
M hibernate-core/src/main/java/org/hibernate/action/internal/EntityUpdateAction.java
M hibernate-core/src/main/java/org/hibernate/cache/internal/QueryResultsCacheImpl.java
M hibernate-core/src/main/java/org/hibernate/cache/internal/TimestampsCacheEnabledImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/CacheHelper.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/NaturalIdResolutionsImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/BatchImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/MutationStatementPreparerImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/ResultSetReturnImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/StatementPreparerImpl.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultAutoFlushEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultFlushEntityEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultFlushEventListener.java
M hibernate-core/src/main/java/org/hibernate/event/internal/EmptyEventManager.java
M hibernate-core/src/main/java/org/hibernate/event/spi/EventManager.java
R hibernate-core/src/main/java/org/hibernate/event/spi/HibernateEvent.java
A hibernate-core/src/main/java/org/hibernate/event/spi/HibernateMonitoringEvent.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableStructure.java
M hibernate-core/src/main/java/org/hibernate/internal/ContextualJdbcConnectionAccess.java
M hibernate-core/src/main/java/org/hibernate/internal/NonContextualJdbcConnectionAccess.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/exec/internal/StandardJdbcMutationExecutor.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
M hibernate-core/src/main/java/org/hibernate/sql/results/internal/ResultsHelper.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/DeferredResultSetAccess.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CacheGetEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CachePutEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/DirtyCalculationEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/FlushEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcBatchExecutionEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionAcquisitionEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionReleaseEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementCreationEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementExecutionEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JfrEventManager.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/PartialFlushEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionClosedEvent.java
M hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionOpenEvent.java
Log Message:
-----------
HHH-17347 Rename HibernateEvent to HibernateMonitoringEvent
Commit: a1249704debe196edefeae1647076623ebfe9cff
https://github.com/hibernate/hibernate-orm/commit/a1249704debe196edefeae1...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-11-17 (Fri, 17 Nov 2023)
Changed paths:
M documentation/src/main/asciidoc/userguide/Hibernate_User_Guide.adoc
A documentation/src/main/asciidoc/userguide/appendices/Monitoring.adoc
Log Message:
-----------
HHH-17347 Add Monitoring with Java Flight Recorder appendix to the documentation
Commit: 1d2d72187bb5f0f6de0bbe0be427236429885729
https://github.com/hibernate/hibernate-orm/commit/1d2d72187bb5f0f6de0bbe0...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-11-17 (Fri, 17 Nov 2023)
Changed paths:
M documentation/src/main/asciidoc/userguide/appendices/Monitoring.adoc
Log Message:
-----------
HHH-17347 Add Monitoring with Java Flight Recorder appendix to the documentation
Commit: a9d77d2c702563bdaa1df3ff354df4998776d954
https://github.com/hibernate/hibernate-orm/commit/a9d77d2c702563bdaa1df3f...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2023-11-17 (Fri, 17 Nov 2023)
Changed paths:
M documentation/src/main/asciidoc/userguide/appendices/Monitoring.adoc
Log Message:
-----------
HHH-17347 Add Monitoring with Java Flight Recorder appendix to the documentation
Compare: https://github.com/hibernate/hibernate-orm/compare/5b6373fb34ed...a9d77d2...
11 months, 3 weeks