@Override
    public void setValue(PreparedStatement st, int startIndex, T value) throws SQLException {
        st.setInt(startIndex, value.ordinal());
    }
{@code EnumByOrdinalType} maps Enum types to their Integer ordinals on the JDBC level

@author tiwe

@param <T>
querydsl-sql/src/main/java/com/querydsl/sql/types/EnumByOrdinalType.java