Getting NoViableAltException: unexpected token: WITH with JPA
问题 I am using solution given by @klin in my last question as below. with given_values (fingerprint, last_fetched) as ( values ('a', '2017-01-01'::date), ('b', '2017-02-01') ) select * from tracks t join given_values v on t.audio_fingerprint = v.fingerprint and t.modified_date > v.last_fetched; I am using JPA and Hibernate with Dropwizard. I am having Entity hierarchy like this. Track can have one or more Structure CueMarker Transition Genre Want to load Track and it's child entities data, for