SSH错误异常总结,持续更!!!
1.有关HQL语句。
语句截图
报错提示
Caused by: org.hibernate.QueryException: Legacy-style query parameters (`?`) are no longer supported; use JPA-style ordinal parameters (e.g., `?1`) instead : from com.itlwj.hibernate.domain.Customer where cust_name = ? [from com.itlwj.hibernate.domain.Customer where cust_name = ?]
Caused by: org.hibernate.QueryException: Legacy-style query parameters (`?`) are no longer supported; use JPA-style ordinal parameters (e.g., `?1`) instead : from com.itlwj.hibernate.domain.Customer where cust_name = ?
更改后的语句截图