http://xiangai.taobao.com
http://shop148612228.taobao.com

org.hibernate.QueryException: JPA-style positional param was not an integral ordinal; nested exception is java.lang.IllegalArgumentException: org.hibernate.QueryException: JPA-style positional param w

org.hibernate.QueryException: JPA-style positional param was not an integral ordinal; nested exception is java.lang.IllegalArgumentException: org.hibernate.QueryException: JPA-style positional param was not an integral ordinal

 

在用jpa nativequery语句中,用spring junit测试发现报错:JPA-style positional param was not an integral ordinal。。。。。。

经过百度与自己代码调试发现:多是sql之间的空格问题,或者sql拼接问题,还有可能是sql语句后面不能有分号。
 

posted @ 2018-11-05 18:33  万事俱备就差个程序员  阅读(1976)  评论(0编辑  收藏  举报

http://xiangai.taobao.com
http://shop148612228.taobao.com
如果您觉得对您有帮助.领个红包吧.谢谢.
支付宝红包
微信打赏 支付宝打赏