下面是我编写的JPQL查询,但它不起作用。我得到以下错误: NoViableAltException:意外令牌: max
有人能指出下面查询中的错误吗?SELECT new com.chp.cef.api.dto.EventSearchDTO(ec.eventName, e.eventKey, e.eventTime, CAST(e.messagePayload
在hibernate中,我想运行这个JPQL / HQL查询:From Appointment aAppointmentDTO类public class AppointmentDTO { @GeneratedValue(strategy: Unable to locate appropriate constructor o