org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: new near line 1, column 70 [select new com.talentpact.businessobject.resignation.ResignationTO( new map('resignationID',resignation.resignationId) ) from com.talentpact.model.HrEmployeeResignation resignation join resignation.hrEmployee he left join resignation.expectedRelievingDateId where resignation.resignationId=:resignationId ]

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by khushnood
, 2 years ago
unexpected token: new near line 1, column 70 [select new com.talentpact.businessobject.resignation.ResignationTO( new map('resignationID',resignation.resignationId) ) from com.talentpact.model.HrEmployeeResignation resignation join resignation.hrEmployee he left join resignation.expectedRelievingDateId where resignation.resignationId=:resignationId ]
via Stack Overflow by Julien Neuhart
, 2 years ago
unexpected token: right near line 1, column 8 [select right from com.google.code.jee.utils.user.management.model.Role as r left join r.rights as right where r.id = :roleId]
via Stack Overflow by scotttty
, 2 years ago
unexpected token: p near line 1, column 87 [select pI, p.name from com.collegecellar.domain.place.PlaceInfo pI inner join Place p p.placeId where p.placeId = :id]
via Stack Overflow by iie
, 2 years ago
unexpected token: 0 near line 1, column 126 [SELECT h FROM com.iie.model.Host h WHERE h.date between (SELECT subtime((Select max(ho.date) from com.iie.model.Host ho ), 0 0:5:0)) and (Select max(hos.date) from com.iie.model.Host hos)]
via Hibernate JIRA by Wolfgang Winter, 1 year ago
unexpected token: . near line 1, column 168 [UPDATE com.logitags.cibet.actuator.archive.StateArchive a SET a.objectId = :objectId WHERE a.caseId = :caseId AND a.controlEvent = com.logitags.cibet.core.ControlEvent.DELETE]
via Hibernate JIRA by Wolfgang Winter, 1 year ago
unexpected token: . near line 1, column 168 [UPDATE com.logitags.cibet.actuator.archive.StateArchive a SET a.objectId = :objectId WHERE a.caseId = :caseId AND a.controlEvent = com.logitags.cibet.core.ControlEvent.DELETE]
org.hibernate.hql.internal.ast.QuerySyntaxException: unexpected token: new near line 1, column 70 [select new com.talentpact.businessobject.resignation.ResignationTO( new map('resignationID',resignation.resignationId) ) from com.talentpact.model.HrEmployeeResignation resignation join resignation.hrEmployee he left join resignation.expectedRelievingDateId where resignation.resignationId=:resignationId ]
at org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:54)
at org.hibernate.hql.internal.ast.QuerySyntaxException.convert(QuerySyntaxException.java:47)
at org.hibernate.hql.internal.ast.ErrorCounter.throwQueryException(ErrorCounter.java:79)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.parse(QueryTranslatorImpl.java:276)
at org.hibernate.hql.internal.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:180)

Users with the same issue

189 times, 1 week ago
26 times, 2 weeks ago
5 times, 1 month ago
12 times, 4 months ago
11 times, 4 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.