I ended up not liking using an SPI contract for this. So I created a new specific contract org.hibernate.jpa.TypedParameterValue