create JpaUtil with generic version of convertToExpressions