Class StringToBinaryParameterConverter
java.lang.Object
ch.tocco.nice2.persist.core.impl.hibernate.legacy.StringToBinaryParameterConverter
@Component
public class StringToBinaryParameterConverter
extends Object
implements Converter<String,Binary>
Converts a string representation of a hash code to a
BinaryQueryParameter
.
This is required for querying binary fields by hash.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
StringToBinaryParameterConverter
-
-
Method Details
-
convert
@Nullable public @Nullable Binary convert(@Nullable @Nullable String value) throws TypeConversionException - Specified by:
convert
in interfaceConverter<String,
Binary> - Throws:
TypeConversionException
-