您的位置:首页 > 其它

ORA-01745: 无效的主机/绑定变量名

2017-02-17 17:29 621 查看
### The error occurred while setting parameters

### SQL: select INFO_ID,TITLE,SUMMARY,CONTENT,SHORT_IMG,SUIT_AGE,to_char(SEND_DATE,'yyyy-mm-dd hh24:mi:ss') as SEND_DATE,   SEND_CITY,SEND_CLIENTAPP,ADD_USER,to_char(ADD_DATE,'yyyy-mm-dd hh24:mi:ss') as ADD_DATE,SEND_STATUS   from   (select tt.*,rownum as rn
from (select t.* from zh_pcareinfo t order by ? ?) tt    where  rownum<=? ) tb    where tb.rn>=?

### Cause: java.sql.SQLException: ORA-01745: 无效的主机/绑定变量名

; bad SQL grammar []; nested exception is java.sql.SQLException: ORA-01745: 无效的主机/绑定变量名

] with root cause
java.sql.SQLException: ORA-01745: 无效的主机/绑定变量名

在排除映射关系,书写规范后 

<![CDATA[order by ${sort} ${order}]]>
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: