@Override
    public String toDatabaseType(Locale value) {
       return value == null ? null : value.getLanguage();
    }
@author  Maria Sparenberg
@author  Patrick Hobusch
runtime-parent/runtime-typemapper/src/main/java/com/speedment/runtime/typemapper/string/StringToLocaleMapper.java