diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CacheGetEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CacheGetEvent.java index fbfe3b016f..d9a17b45d5 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CacheGetEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CacheGetEvent.java @@ -18,7 +18,7 @@ import jdk.jfr.StackTrace; @Label( "Cache Get Executed" ) @Category( "Hibernate ORM" ) @Description( "Cache Get Executed" ) -@StackTrace(false) +@StackTrace @AllowNonPortable public class CacheGetEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.CacheGet"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CachePutEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CachePutEvent.java index b1ff20618a..151558c1e8 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CachePutEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/CachePutEvent.java @@ -18,7 +18,7 @@ import jdk.jfr.StackTrace; @Label( "Cache Put Executed" ) @Category( "Hibernate ORM" ) @Description( "Cache Put Executed" ) -@StackTrace(false) +@StackTrace @AllowNonPortable public class CachePutEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.CachePut"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/DirtyCalculationEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/DirtyCalculationEvent.java index 7183e5dac0..eee777adf0 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/DirtyCalculationEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/DirtyCalculationEvent.java @@ -18,7 +18,7 @@ import jdk.jfr.StackTrace; @Label("DirtyCalculationEvent Execution") @Category("Hibernate ORM") @Description("DirtyCalculationEvent Execution") -@StackTrace(false) +@StackTrace @AllowNonPortable public class DirtyCalculationEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.DirtyCalculationEvent"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityDeleteEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityDeleteEvent.java index 3e1863daf7..e646919ecc 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityDeleteEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityDeleteEvent.java @@ -17,7 +17,7 @@ import org.hibernate.internal.build.AllowNonPortable; @Label("Entity Delete") @Category("Hibernate ORM") @Description("Entity Delete") -@StackTrace(false) +@StackTrace @AllowNonPortable public class EntityDeleteEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.EntityDeleteEvent"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityInsertEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityInsertEvent.java index f8767640d8..7f29378676 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityInsertEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityInsertEvent.java @@ -17,7 +17,7 @@ import org.hibernate.internal.build.AllowNonPortable; @Label("Entity Insert") @Category("Hibernate ORM") @Description("Entity Insert") -@StackTrace(false) +@StackTrace @AllowNonPortable public class EntityInsertEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.EntityInsertEvent"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityUpdateEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityUpdateEvent.java index 5231c9caec..a94f378be6 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityUpdateEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/EntityUpdateEvent.java @@ -17,7 +17,7 @@ import org.hibernate.internal.build.AllowNonPortable; @Label("Entity Update") @Category("Hibernate ORM") @Description("Entity Update") -@StackTrace(false) +@StackTrace @AllowNonPortable public class EntityUpdateEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.EntityUpdateEvent"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/FlushEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/FlushEvent.java index bbb9c2cc3d..1901118dbe 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/FlushEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/FlushEvent.java @@ -18,7 +18,7 @@ import jdk.jfr.StackTrace; @Label("Flush Execution") @Category("Hibernate ORM") @Description("Flush Execution") -@StackTrace(false) +@StackTrace @AllowNonPortable public class FlushEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.FlushEvent"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcBatchExecutionEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcBatchExecutionEvent.java index c9936a96a4..1a36999956 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcBatchExecutionEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcBatchExecutionEvent.java @@ -18,7 +18,7 @@ import jdk.jfr.StackTrace; @Label("JDBC Batch Execution") @Category("Hibernate ORM") @Description("JDBC Batch Execution") -@StackTrace(false) +@StackTrace @AllowNonPortable public class JdbcBatchExecutionEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.JdbcBatchExecution"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionAcquisitionEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionAcquisitionEvent.java index 6597b232ac..b3c6748c20 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionAcquisitionEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionAcquisitionEvent.java @@ -18,7 +18,7 @@ import jdk.jfr.StackTrace; @Label("JDBC Connection Obtained") @Category("Hibernate ORM") @Description("JDBC Connection Obtained") -@StackTrace(false) +@StackTrace @AllowNonPortable public class JdbcConnectionAcquisitionEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.JdbcConnectionAcquisition"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionReleaseEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionReleaseEvent.java index 6c771fe7eb..c2fad01c3b 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionReleaseEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcConnectionReleaseEvent.java @@ -18,7 +18,7 @@ import jdk.jfr.StackTrace; @Label("JDBC Connection Release") @Category("Hibernate ORM") @Description("JDBC Connection Released") -@StackTrace(false) +@StackTrace @AllowNonPortable public class JdbcConnectionReleaseEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.JdbcConnectionRelease"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementCreationEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementCreationEvent.java index 8794f7ef27..b9a34256a3 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementCreationEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementCreationEvent.java @@ -18,7 +18,7 @@ import jdk.jfr.StackTrace; @Label("JDBC PreparedStatement Created") @Category("Hibernate ORM") @Description("JDBC PreparedStatement Created") -@StackTrace(false) +@StackTrace @AllowNonPortable public class JdbcPreparedStatementCreationEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.JdbcPreparedStatementCreation"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementExecutionEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementExecutionEvent.java index 68e0e577ae..b15f747f5d 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementExecutionEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/JdbcPreparedStatementExecutionEvent.java @@ -18,7 +18,7 @@ import jdk.jfr.StackTrace; @Label( "JDBC PreparedStatement Executed" ) @Category( "Hibernate ORM" ) @Description( "JDBC PreparedStatement Executed" ) -@StackTrace(false) +@StackTrace @AllowNonPortable public class JdbcPreparedStatementExecutionEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.JdbcPreparedStatementExecution"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/PartialFlushEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/PartialFlushEvent.java index edcd5d4ae3..f8ec42285d 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/PartialFlushEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/PartialFlushEvent.java @@ -18,7 +18,7 @@ import jdk.jfr.StackTrace; @Label( "PartialFlushEvent Execution" ) @Category( "Hibernate ORM" ) @Description( "PartialFlushEvent Execution" ) -@StackTrace(false) +@StackTrace @AllowNonPortable public class PartialFlushEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.PartialFlushEvent"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/PrePartialFlushEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/PrePartialFlushEvent.java index e322ab3256..2a5c99d7f5 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/PrePartialFlushEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/PrePartialFlushEvent.java @@ -18,7 +18,7 @@ import jdk.jfr.StackTrace; @Label( "PrePartialFlushEvent Execution" ) @Category( "Hibernate ORM" ) @Description( "PrePartialFlushEvent Execution" ) -@StackTrace(false) +@StackTrace @AllowNonPortable public class PrePartialFlushEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.PrePartialFlushEvent"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionClosedEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionClosedEvent.java index 2700b1468a..ba4cc3eb30 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionClosedEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionClosedEvent.java @@ -21,7 +21,7 @@ import jdk.jfr.StackTrace; @Label("Session Closed") @Category("Hibernate ORM") @Description("Hibernate Session closed") -@StackTrace(false) +@StackTrace @AllowNonPortable public class SessionClosedEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.SessionClosed"; diff --git a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionOpenEvent.java b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionOpenEvent.java index b49aedee11..8ce1e56685 100644 --- a/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionOpenEvent.java +++ b/hibernate-jfr/src/main/java/org/hibernate/event/jfr/internal/SessionOpenEvent.java @@ -21,7 +21,7 @@ import jdk.jfr.StackTrace; @Label("Session Opened") @Category("Hibernate ORM") @Description("Hibernate Session opened") -@StackTrace(false) +@StackTrace @AllowNonPortable public class SessionOpenEvent extends Event implements HibernateMonitoringEvent { public static final String NAME = "org.hibernate.orm.SessionOpen";