锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲国产欧美一区,亚洲视频在线观看视频,亚洲欧美日韩成人http://www.aygfsteel.com/cmzy/category/33006.html孌嬫ⅵ榪芥湀鐨凧AVA鍗氬 http://www.zy232.cn/zh-cnFri, 25 Jul 2008 02:14:11 GMTFri, 25 Jul 2008 02:14:11 GMT60璁″垝鍐欎竴涓狹yEclipse6.5寮鍙慡pring搴旂敤鐨勭畝鍗曟暀紼?/title><link>http://www.aygfsteel.com/cmzy/articles/214724.html</link><dc:creator>孌嬫ⅵ榪芥湀</dc:creator><author>孌嬫ⅵ榪芥湀</author><pubDate>Mon, 14 Jul 2008 06:26:00 GMT</pubDate><guid>http://www.aygfsteel.com/cmzy/articles/214724.html</guid><wfw:comment>http://www.aygfsteel.com/cmzy/comments/214724.html</wfw:comment><comments>http://www.aygfsteel.com/cmzy/articles/214724.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.aygfsteel.com/cmzy/comments/commentRss/214724.html</wfw:commentRss><trackback:ping>http://www.aygfsteel.com/cmzy/services/trackbacks/214724.html</trackback:ping><description><![CDATA[     鎽樿:    璁″垝鍐欎竴涓狹yEclipse6.5寮鍙慡pring搴旂敤鐨勭畝鍗曟暀紼嬨傞潰鍚戝垵瀛﹁咃紝鐩綍鏆傛椂瀹氬涓嬨傚凡緇忓畬鎴愪簡(jiǎn)絎竴绔犲拰絎簩绔犵殑涓閮ㄥ垎銆? Normal 0 7.8 紓?0 2 false false false MicrosoftInternetExplorer4 /* Style Definitions ...  <a href='http://www.aygfsteel.com/cmzy/articles/214724.html'>闃呰鍏ㄦ枃</a><img src ="http://www.aygfsteel.com/cmzy/aggbug/214724.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.aygfsteel.com/cmzy/" target="_blank">孌嬫ⅵ榪芥湀</a> 2008-07-14 14:26 <a href="http://www.aygfsteel.com/cmzy/articles/214724.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Hibernate unexpected end of subtree寮傚父瑙e喅鍔炴硶http://www.aygfsteel.com/cmzy/articles/213799.html孌嬫ⅵ榪芥湀孌嬫ⅵ榪芥湀Wed, 09 Jul 2008 14:18:00 GMThttp://www.aygfsteel.com/cmzy/articles/213799.htmlhttp://www.aygfsteel.com/cmzy/comments/213799.htmlhttp://www.aygfsteel.com/cmzy/articles/213799.html#Feedback0http://www.aygfsteel.com/cmzy/comments/commentRss/213799.htmlhttp://www.aygfsteel.com/cmzy/services/trackbacks/213799.html HQL鏌ヨ璇彞錛歠rom Course course where course.name like '%璁$畻鏈?' order by course.date desc  寮傚父錛?br />
[org.hibernate.hql.PARSER] - <AST>:0:0: unexpected end of subtree 2008-05-06
18:36:04,062 ERROR [org.hibernate.hql.PARSER] -  Invalid path: 'course.name'
2008-05-06 18:36:04,062 ERROR [org.hibernate.hql.PARSER] - <AST>:0:0: unexpected end of subtree
2008-05-06 18:36:04,062 ERROR [org.hibernate.hql.PARSER] -  left-hand operand of a binary operator was null
2008-05-06 18:36:04,093 ERROR [org.hibernate.hql.PARSER] -  Invalid path: 'course.date'
2008-05-06 18:36:04,125 ERROR [com.vod.dao.CourseDAO] - find all failed org.springframework.orm.hibernate3.HibernateQueryException: unexpected end of subtree [where course.name like '%璁$畻鏈?' order by course.date desc ]; nested exception is org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree [where course.name like '%璁$畻鏈?' order by course.date desc ]Caused by: org.hibernate.hql.ast.QuerySyntaxException: unexpected end of subtree [where course.name like '%璁$畻鏈?' order by course.date desc ] at org.hibernate.hql.ast.ErrorCounter.throwQueryException(ErrorCounter.java:59) at
org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:225) at
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:158) at
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:109) at
org.hibernate.engine.query.HQLQueryPlan.<init>
(HQLQueryPlan.java:75) at org.hibernate.engine.query.HQLQueryPlan.<init>(HQLQueryPlan.java:54) at org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:71) at org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133) at org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112) at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:15……

闂瑙e喅浜?jiǎn)锛?xì)璇彞鍐欓敊浜?jiǎn)锛佸Q侊細(xì)
 1   public List findByHql(String hql){    
 2         log.debug("finding all Course instances");     
 3         try {
 4            String queryString = "from Course course " +hql+" ";
 5            System.out.println("\n\n"+queryString+"\n\n");
 6            return getHibernateTemplate().find(queryString);
 7         } catch (RuntimeException re) {
 8            log.error("find all failed", re);
 9            throw re;
10         } 
11 }

鍐欐垚浜?jiǎn)锛?xì)
 1 public List findByHql(String hql){
 2      log.debug("finding all Course instances");
 3      try {
 4          String queryString = "from Course course " +hql+" ";
 5          System.out.println("\n\n"+queryString+"\n\n");
 6          return getHibernateTemplate().find(hql);//灝辮繖閲岋紒鐪熸槸閮侀椃
 7       } catch (RuntimeException re) {
 8          log.error("find all failed", re);
 9          throw re;
10       } 
11 }




孌嬫ⅵ榪芥湀 2008-07-09 22:18 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 宜宾市| 临夏市| 乐昌市| 临澧县| 绥宁县| 安义县| 开化县| 隆尧县| 淮阳县| 三都| 广德县| 阿图什市| 富蕴县| 辛集市| 都昌县| 通海县| 淳化县| 万全县| 正蓝旗| 绍兴县| 唐河县| 贺州市| 红原县| 怀集县| 定边县| 夹江县| 临邑县| 乳山市| 永吉县| 大同市| 遂溪县| 鸡泽县| 衡山县| 柏乡县| 泸溪县| 彰化县| 封开县| 湘潭市| 施甸县| 弥勒县| 镇巴县|