점으로 HQL 결과를 얻을 수 있습니까? 예를 들어
는 :HQL - DOT seperator로 select에서 결과 얻기
select Employee.name as 'Employee.name'
나는 MySQL은, 최대 절전 모드에서 해당 전나무 어떤 지원이 있다고 할 수 있음을 알고있다.
이것은 내가 얻을 exeption입니다 "."의
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.hql.ast.QuerySyntaxException: unexpected token: . near line 1, column 42 [SELECT Affiliate.affiliateId as Affiliate.affiliateId , parent.userName as parent_userName , Affiliate.userName as Affiliate_userName , Affiliate.email as Affiliate_email , parent.affiliateId as parent_affiliateId , employee.firstName as employee_firstName , Affiliate.name as Affiliate_name FROM com.affiliates.hibernate.Affiliate Affiliate INNER JOIN Affiliate.employee as employee INNER JOIN Affiliate.parent as parent WHERE 1=1 AND Affiliate.employee='1']
org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:656)
org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:560)
javax.servlet.http.HttpServlet.service(HttpServlet.java:641)
때문에 아키텍처 문제, "_"instad 나에게 위선적 인 일.
감사합니다.