diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/CurrentTimestampGeneration.java b/hibernate-core/src/main/java/org/hibernate/annotations/CurrentTimestampGeneration.java index fcda7d8c3f..6c1c191087 100644 --- a/hibernate-core/src/main/java/org/hibernate/annotations/CurrentTimestampGeneration.java +++ b/hibernate-core/src/main/java/org/hibernate/annotations/CurrentTimestampGeneration.java @@ -6,6 +6,7 @@ */ package org.hibernate.annotations; +import org.hibernate.Internal; import org.hibernate.dialect.Dialect; import org.hibernate.tuple.AnnotationValueGeneration; import org.hibernate.tuple.GenerationTiming; @@ -20,6 +21,7 @@ import org.hibernate.tuple.ValueGenerator; * * @author Steve Ebersole */ +@Internal public class CurrentTimestampGeneration implements AnnotationValueGeneration { private GenerationTiming timing; private ValueGenerator generator; diff --git a/hibernate-core/src/main/java/org/hibernate/annotations/SourceGeneration.java b/hibernate-core/src/main/java/org/hibernate/annotations/SourceGeneration.java index 1e62653ffb..861ee133c0 100644 --- a/hibernate-core/src/main/java/org/hibernate/annotations/SourceGeneration.java +++ b/hibernate-core/src/main/java/org/hibernate/annotations/SourceGeneration.java @@ -7,6 +7,7 @@ package org.hibernate.annotations; import org.hibernate.AssertionFailure; +import org.hibernate.Internal; import org.hibernate.Session; import org.hibernate.dialect.Dialect; import org.hibernate.engine.jdbc.spi.JdbcCoordinator; @@ -40,6 +41,7 @@ import static org.hibernate.tuple.GenerationTiming.ALWAYS; * @deprecated because {@link Source} is generated, though this implementation is instructive */ @Deprecated(since = "6.2") +@Internal public class SourceGeneration implements AnnotationValueGeneration, ValueGenerator { private static final CoreMessageLogger log = Logger.getMessageLogger(