From 55a556b0171def44b70f0351c0ceece74363ac2e Mon Sep 17 00:00:00 2001 From: Gavin King Date: Tue, 25 Jan 2022 07:46:48 +0100 Subject: [PATCH] mark impls of EntityTuplizer as @Deprecated --- .../java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java | 1 + .../org/hibernate/tuple/entity/DynamicMapEntityTuplizer.java | 1 + .../java/org/hibernate/tuple/entity/EntityTuplizerFactory.java | 1 + .../main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java | 1 + 4 files changed, 4 insertions(+) diff --git a/hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java b/hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java index 6b8f999af2..66c7123315 100644 --- a/hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java +++ b/hibernate-core/src/main/java/org/hibernate/tuple/entity/AbstractEntityTuplizer.java @@ -31,6 +31,7 @@ import org.hibernate.type.ComponentType; * @author Steve Ebersole * @author Gavin King */ +@Deprecated(since = "6.0") public abstract class AbstractEntityTuplizer implements EntityTuplizer { private final EntityMetamodel entityMetamodel; diff --git a/hibernate-core/src/main/java/org/hibernate/tuple/entity/DynamicMapEntityTuplizer.java b/hibernate-core/src/main/java/org/hibernate/tuple/entity/DynamicMapEntityTuplizer.java index 5aa2c1da3c..e6004eb536 100644 --- a/hibernate-core/src/main/java/org/hibernate/tuple/entity/DynamicMapEntityTuplizer.java +++ b/hibernate-core/src/main/java/org/hibernate/tuple/entity/DynamicMapEntityTuplizer.java @@ -29,6 +29,7 @@ import org.hibernate.tuple.DynamicMapInstantiator; * @author Steve Ebersole * @author Gavin King */ +@Deprecated(since = "6.0") public class DynamicMapEntityTuplizer extends AbstractEntityTuplizer { private static final CoreMessageLogger LOG = CoreLogging.messageLogger( DynamicMapEntityTuplizer.class ); diff --git a/hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityTuplizerFactory.java b/hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityTuplizerFactory.java index 9f0b1ab601..6978102444 100644 --- a/hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityTuplizerFactory.java +++ b/hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityTuplizerFactory.java @@ -21,6 +21,7 @@ import org.hibernate.metamodel.RepresentationMode; * * @author Steve Ebersole */ +@Deprecated(since = "6.0") public class EntityTuplizerFactory implements Serializable { public static final Class[] ENTITY_TUP_CTOR_SIG = new Class[] { EntityMetamodel.class, PersistentClass.class }; diff --git a/hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java b/hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java index e361f3260b..471c83fedd 100644 --- a/hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java +++ b/hibernate-core/src/main/java/org/hibernate/tuple/entity/PojoEntityTuplizer.java @@ -34,6 +34,7 @@ import org.hibernate.type.CompositeType; * @author Steve Ebersole * @author Gavin King */ +@Deprecated(since = "6.0") public class PojoEntityTuplizer extends AbstractEntityTuplizer { private static final CoreMessageLogger LOG = CoreLogging.messageLogger( PojoEntityTuplizer.class );