You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to update QueryDSL from 3.2.1 to 3.4.0, but a query with yearMonth function is raising an exception on Eclipselink (The right expression is not a valid expression).
Looking at the generated JPQL I notice the following differences:
3.2.1
select 1
from Log log
where log.tableName = ?1 and log.operation = ?2 and extract(year from log.date) * ?3 + extract(month from log.date) = ?4
3.4.0
select 1
from Log log
where log.tableName = ?1 and log.operation = ?2 and year(log.date) * 100 + month(log.date) = ?3
I'm using Eclipselink 2.5.1 (with JPA 2.1 support).
The text was updated successfully, but these errors were encountered:
I'm trying to update QueryDSL from 3.2.1 to 3.4.0, but a query with yearMonth function is raising an exception on Eclipselink (The right expression is not a valid expression).
Looking at the generated JPQL I notice the following differences:
3.2.1
3.4.0
I'm using Eclipselink 2.5.1 (with JPA 2.1 support).
The text was updated successfully, but these errors were encountered: