@Override
    public void setValue(PreparedStatement st, int startIndex, Boolean value) throws SQLException {
        st.setString(startIndex, value ? "Y" : "N");

    }
{@code YesNoType} maps Boolean to 'Y'/'N' on the JDBC level

@author tiwe
querydsl-sql/src/main/java/com/querydsl/sql/types/YesNoType.java