当前位置:首页 » 多媒体相关

jbuilder7+weblogic7开发cmp,其中ejb-ql语言的where条件好象不能用等号,一用就出现如下问题


"item.ejbgrpx":   spaces   in   the   temporary   directory   path   may   cause   weblogic   ejbc   utility   to   produce   fatal   compile   errors.  
  "item.ejbgrpx":   c:\bea\jdk131_03\bin\javaw   -classpath   "c:\bea\weblogic700\server\lib\weblogic.jar;"     weblogic.ejbc   -keepgenerated   -compiler   c:/jbuilder7/bin/bcjw   e:/test/item.jar.jar   e:/test/item.jar  
   
  "item.ejbgrpx":   error:   error   from   ejbc:   error   while   reading   meta-inf/weblogic-cmp-rdbms-jar.xml.   the   error   was:  
  "item.ejbgrpx":      
  "item.ejbgrpx":   weblogic.ejb20.cmp.rdbms.finders.illegalexpressionexception:  
  "item.ejbgrpx":   while   trying   to   process   query  
  "item.ejbgrpx":   method   name:   findbytype  
  "item.ejbgrpx":   parameter   types:   (java.lang.string)  
  "item.ejbgrpx":   ejb   query:   select   object(a)   from   item   as   a   where   a.type=?1  
  "item.ejbgrpx":   )  
  "item.ejbgrpx":   could   not   parse   ejb   ql   expression:   select   object(a)   from   item   as   a   where   a.type=?1  
  "item.ejbgrpx":   error:   ejbc   found   errors  
   
   
  请问为什么?其中用a.type<>?1就没有问题,用a.type=?1就出现如上错误。  
 

推荐阅读

  • TCL称被飞利浦收购是造谣 将发布澄清公告 [详细内容]
  • RV530锋芒毕露 铭瑄推出首款X1600 Pro [详细内容]
  • 小E刷J2后出现的播放器不能使用 [详细内容]
  • 研究发现手机用户满意度与去年相比增加4% [详细内容]
  • 500万时尚美女机 奥记IR300仅要2K出头! [详细内容]
  • 三星E358之我感-设置 [详细内容]
  • 摩托罗拉顺应技术趋势 “恋上”无线网状网络 [详细内容]
  • 网友回答:
    网友:friday1103

    检查一下等号两边要有空格。

    .

    讨论区

    Login