@@ -0,0 +1,404 @@
+@Converter(autoApply=true)%0Apublic class BooleanConverter implements AttributeConverter%3CBoolean, Integer%3E%0A%7B%0A    @Override%0A    public String convertToDatabaseColumn(Boolean value) %0A    %7B%0A        if(value)%0A          return 1;%0A        else%0A          return 0;%0A    %7D%0A    %0A    @Override%0A    public Boolean convertToEntityAttribute(Integer value) %0A    %7B%0A        return value != null && value.equals(1);%0A    %7D%0A%7D%0A

Create BooleanConverter.java