このクエリを JPA で実行したいのですが、このクエリの実行中にエラーが発生します。 JPA で Month(),Year() を使用する方法 ネイティブ SQL クエリでこれらを使用できます。助けてください。よろしくお願いします!!
select model from IptExchangeratelines model where model.iptExchangerate.id=:id and " +
" month(model.currencyExchangeDate)=:month and year(model.currencyExchangeDate)=:year