Class NotNullStringConverter
java.lang.Object
sk.iway.iwcm.system.jpaconverters.NotNullStringConverter
public class NotNullStringConverter
extends Object
implements javax.persistence.AttributeConverter<String,String>
Converts NULL database value to empty string. Used mainly because Oracle can't store enpty strings.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionconvertToDatabaseColumn(String attribute) convertToEntityAttribute(String dbData)
-
Constructor Details
-
NotNullStringConverter
public NotNullStringConverter()
-
-
Method Details