diff --git a/hibernate-core/src/main/java/org/hibernate/metamodel/model/convert/spi/EnumValueConverter.java b/hibernate-core/src/main/java/org/hibernate/metamodel/model/convert/spi/EnumValueConverter.java index 8aa2401eed..45ba41b0cd 100644 --- a/hibernate-core/src/main/java/org/hibernate/metamodel/model/convert/spi/EnumValueConverter.java +++ b/hibernate-core/src/main/java/org/hibernate/metamodel/model/convert/spi/EnumValueConverter.java @@ -9,6 +9,7 @@ package org.hibernate.metamodel.model.convert.spi; import java.sql.PreparedStatement; import java.sql.SQLException; +import org.hibernate.annotations.Remove; import org.hibernate.engine.spi.SharedSessionContractImplementor; import org.hibernate.type.descriptor.java.EnumJavaTypeDescriptor; @@ -25,6 +26,7 @@ public interface EnumValueConverter extends BasicValueConvert String toSqlLiteral(Object value); + @Remove void writeValue( PreparedStatement statement, Enum value,