HHH-14857 - Deprecations in preparation for 6

This commit is contained in:
Steve Ebersole 2021-10-21 16:13:55 -05:00
parent 1fdd0a6df1
commit 91e29358be
3 changed files with 12 additions and 0 deletions

View File

@ -31,8 +31,12 @@ import org.hibernate.property.access.spi.Getter;
* @see org.hibernate.tuple.entity.EntityTuplizer
* @see org.hibernate.tuple.component.ComponentTuplizer
*
* @deprecated for removal in 6.0. See instead `ManagedTypeRepresentationStrategy`
* and `RepresentationMode` in 6.0
*
* @author Steve Ebersole
*/
@Deprecated
public interface Tuplizer {
/**
* Extract the current values contained on the given entity.

View File

@ -20,7 +20,11 @@ import org.hibernate.tuple.Tuplizer;
*
* @author Gavin King
* @author Steve Ebersole
*
* @deprecated for removal in 6.0. See instead `ManagedTypeRepresentationStrategy`
* and `RepresentationMode` in 6.0
*/
@Deprecated
public interface ComponentTuplizer extends Tuplizer, Serializable {
/**
* Retrieve the current value of the parent property.

View File

@ -28,7 +28,11 @@ import org.hibernate.tuple.Tuplizer;
*
* @author Gavin King
* @author Steve Ebersole
*
* @deprecated for removal in 6.0. See instead `ManagedTypeRepresentationStrategy`
* and `RepresentationMode` in 6.0
*/
@Deprecated
public interface EntityTuplizer extends Tuplizer {
/**
* Return the entity-mode handled by this tuplizer instance.