From 340ba91e5c7f22bf9d5fb5c62047bb0a04968bba Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Thu, 5 Sep 2019 12:25:56 +0100 Subject: [PATCH] Initial working support for building and executing JdbcSelect operation from simple HQL --- .../metamodel/model/convert/spi/EnumValueConverter.java | 2 ++ 1 file changed, 2 insertions(+) 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,