Im getting below error如何使用MySQL Hibernate解决意外的令牌?
org.hibernate.hql.internal.ast.QuerySyntaxException:意外标记值:第1行第161列附近的值。
[insert into shop_information(storeName, ownername, license, email, dlnumber, gst, pan, pincode, phonenumber, mobile, fax, cst, phone, district, state, country) values (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)]
邮政法码。 –
这是我的代码 –
也许你正在尝试执行原生sql,但使用创建JPQL/HQL查询的hibernate方法。 –