呵呵,JB很聪明的,你不用去管符号的转换问题,直接写
select object(a) from 你的类名 as a where a.xxx >? 1
不要加CDATA这一类的东西

解决方案 »

  1.   

    你不会是不知道 EJB QL语法吧??? ------------------------------------------------------
               我们还年轻牛奶会有的奶牛也会有的 
                 可天天在 csdn 混这些会有吗 ??
      

  2.   

    fantasyfire(幻火) ,先谢谢了。
    但是,我的问题依然存在。
    我将错误的信息显示如下:
    "ProductorGrp.ejbgrpx": ERROR: Error from ejbc: Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was:
    "ProductorGrp.ejbgrpx":  
    "ProductorGrp.ejbgrpx": weblogic.ejb20.cmp.rdbms.finders.IllegalExpressionException:
    "ProductorGrp.ejbgrpx": While trying to process Finder
    "ProductorGrp.ejbgrpx": Method Name: findByName
    "ProductorGrp.ejbgrpx": Parameter Types: (java.lang.String)
    "ProductorGrp.ejbgrpx": EJB Query: select object(a) from ProductBean as a where a.name=?1
    "ProductorGrp.ejbgrpx": )
    "ProductorGrp.ejbgrpx": Could not parse EJB QL expression: select object(a) from ProductBean as a where a.name=?1
    "ProductorGrp.ejbgrpx": ERROR: ejbc found errors--------------------------------------------------------------------
    ejb-jar.xml依然没有得到正确的形式:——
    <ejb-ql>select object(a) from ProductBean as a where a.name=?1</ejb-ql>
      

  3.   

    zez(思恩 为老婆多挣钱)兄,请帮忙看看错误的原因。