0
這是我在Console中獲得的HQL查詢。我在登錄時收到「org.springframework.security.authentication.BadCredentialsException」。登錄時我使用了正確的憑據。我是HQL查詢語言的新手。需要幫助,謝謝如何將執行的HQL查詢轉換爲SQL查詢
--- HQL AST ---
\-[QUERY] Node: 'query'
+-[SELECT_FROM] Node: 'SELECT_FROM'
| +-[FROM] Node: 'from'
| | \-[RANGE] Node: 'RANGE'
| | +-[DOT] Node: '.'
| | | +-[DOT] Node: '.'
| | | | +-[DOT] Node: '.'
| | | | | +-[DOT] Node: '.'
| | | | | | +-[IDENT] Node: 'com'
| | | | | | \-[IDENT] Node: 'mindfiresolutions'
| | | | | \-[IDENT] Node: 'springmaven'
| | | | \-[IDENT] Node: 'models'
| | | \-[IDENT] Node: 'Employee'
| | \-[ALIAS] Node: 'generatedAlias0'
| \-[SELECT] Node: 'select'
| \-[IDENT] Node: 'generatedAlias0'
\-[WHERE] Node: 'where'
\-[EQ] Node: '='
+-[DOT] Node: '.'
| +-[IDENT] Node: 'generatedAlias0'
| \-[IDENT] Node: 'employeeUserName'
\-[COLON] Node: ':'
\-[IDENT] Node: 'param0'
和異常無關,與JPQL被調用,也不是JPA API ...只是看它的堆棧跟蹤和它的消息! –