@Override
    public String serialize(String literal, int jdbcType) {
        switch (jdbcType) {
            case TIMESTAMP_WITH_TIMEZONE:
                return "(timestamp with time zone '" + literal + "')";
            case TIME_WITH_TIMEZONE:
                return "(time with time zone '" + literal + "')";
            default:
                return super.serialize(literal, jdbcType);
        }
    }
{@code H2Templates} is an SQL dialect for H2

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