org.hibernate.QueryException: Space is not allowed after parameter prefix ':'
2015-11-22 09:03
549 查看
spring mvc + Hibernate4x + maven 抛异常报错: [code]exception
org.springframework.web.util.NestedServletException: Request processing failed; nested exception is org.hibernate.QueryException: Space is not allowed after parameter prefix ':'root cause
org.hibernate.QueryException: Space is not allowed after parameter prefix ':'
解决-->引用占位符:的前后不允许有空格。
error: [code]...AND apply.startTime >=: startTime1 AND apply.endTime <=: endTime1correct:[/code]
AND apply.startTime >=:startTime1 AND apply.endTime <=:endTime1
[/code]
相关文章推荐
- Ext.QuickTips.init();
- HDU 2767 Proving Equivalences (tarjan scc)
- iOS - UIButton 开发总结
- UiDevice新增API
- HDU 2767 Proving Equivalences(强连通缩点)
- EasyUI常用控件的禁用方法
- request biji
- leetcode笔记:N-Queens II
- Druid监控数据库
- duilib 入门一之界面库基本原理
- 如何解决virtualbox中不能打开一个虚拟任务之uuid不匹配的问题
- 移植opencv到pcDuino
- arduino ide找不到目标文件
- HDU-5568 sequence2(DP+高精度)
- HDU5568/BestCoder Round #63 (div.2) B.sequence2 dp+高精度
- HDU5567/BestCoder Round #63 (div.2) A sequence1 水
- hdoj5567sequence1
- UILabel,UITextField,UIButton三大基础控件总结
- BestCoder Round #63 (div.1) A.sequence2
- UItableView