1 Reply Latest reply on Mar 17, 2003 6:37 PM by Sam

    Error compiling ejbql

    Cleber Newbie

      I'm using ejb 2.0 and jboss-3.0.6.
      When I deploy my entity, I've go the follow messages:


      2003-03-15 19:47:43,929 INFO [org.jboss.ejb.EjbModule] Creating
      2003-03-15 19:47:43,961 INFO [org.jboss.ejb.EjbModule] Deploying Item
      2003-03-15 19:47:43,983 INFO [org.jboss.ejb.EjbModule] Deploying Pedido
      2003-03-15 19:47:44,005 INFO [org.jboss.ejb.EjbModule] Deploying ItemTransfer
      2003-03-15 19:47:44,076 INFO [org.jboss.ejb.EjbModule] Created
      2003-03-15 19:47:44,078 INFO [org.jboss.ejb.EjbModule] Starting
      2003-03-15 19:47:44,500 INFO [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.ItemTransfer] Table 'ITEMTRANSFER' already exists
      2003-03-15 19:47:44,597 INFO [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Item] Table 'ITEM' already exists
      2003-03-15 19:47:44,718 INFO [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Pedido] Table 'PEDIDOS' already exists
      2003-03-15 19:47:44,721 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=PedidoLocalHome,service=EJB
      org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "PedidoBean" at line 1, column 23.
      Was expecting one of:
      "IN" ...
      <ABSTRACT_SCHEMA> ...
      )
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:46)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:44)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:218)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:463)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:369)
      at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:198)
      at org.jboss.ejb.EntityContainer.start(EntityContainer.java:376)
      at org.jboss.ejb.Container.invoke(Container.java:756)
      at org.jboss.ejb.EntityContainer.invoke(EntityContainer.java:1058)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
      at $Proxy4.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:413)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy98.start(Unknown Source)
      at org.jboss.ejb.EjbModule.startService(EjbModule.java:430)
      at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:165)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:1003)
      at $Proxy4.start(Unknown Source)
      at org.jboss.system.ServiceController.start(ServiceController.java:413)
      at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy8.start(Unknown Source)
      at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:395)
      at org.jboss.deployment.MainDeployer.start(MainDeployer.java:814)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:627)
      at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:591)
      at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      at java.lang.reflect.Method.invoke(Method.java:324)
      at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
      at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517)
      at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174)
      at $Proxy3.deploy(Unknown Source)
      at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:435)
      at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:561)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:212)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:225)
      at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:202)
      Caused by: org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "PedidoBean" at line 1, column 23.
      Was expecting one of:
      "IN" ...
      <ABSTRACT_SCHEMA> ...

      at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.generateParseException(EJBQLParser.java:3745)
      at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.jj_consume_token(EJBQLParser.java:3626)
      at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.IdentificationVariableDeclaration(EJBQLParser.java:212)
      at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.FromClause(EJBQLParser.java:163)
      at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.ParseFromClause(EJBQLParser.java:150)
      at org.jboss.ejb.plugins.cmp.ejbql.EJBQLParser.parse(EJBQLParser.java:56)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLCompiler.compileEJBQL(JDBCEJBQLCompiler.java:144)
      at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:40)
      ... 53 more
      2003-03-15 19:47:44,728 INFO [org.jboss.ejb.EjbModule] Started
      2003-03-15 19:47:44,728 INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/tmp/cleber/J2EE/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/tci-ejb.jar
      2003-03-15 19:47:44,730 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] MBeanException: Exception in MBean operation 'checkIncompleteDeployments()'
      Cause: Incomplete Deployment listing:
      Packages waiting for a deployer:

      Incompletely deployed packages:
      [org.jboss.deployment.DeploymentInfo@82f6d1ff { url=file:/tmp/cleber/J2EE/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/http-invoker.sar/ }
      deployer: org.jboss.deployment.SARDeployer@872380
      status: null
      state: FAILED
      watch: file:/tmp/cleber/J2EE/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/http-invoker.sar/META-INF/jboss-service.xml
      lastDeployed: 1047765839564
      lastModified: 1043571557000
      mbeans:
      , org.jboss.deployment.DeploymentInfo@c6190306 { url=file:/tmp/cleber/J2EE/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/jmx-rmi-adaptor.sar/ }
      deployer: org.jboss.deployment.SARDeployer@872380
      status: null
      state: FAILED
      watch: file:/tmp/cleber/J2EE/jboss-3.0.6_tomcat-4.1.18/server/default/deploy/jmx-rmi-adaptor.sar/META-INF/jboss-service.xml
      lastDeployed: 1047765839731
      lastModified: 1043571554000
      mbeans:
      ]MBeans waiting for classes:

      MBeans waiting for other MBeans:
      [ObjectName: jboss.j2ee:jndiName=PedidoLocalHome,service=EJB
      state: FAILED
      I Depend On:
      Depends On Me: org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "PedidoBean" at line 1, column 23.
      Was expecting one of:
      "IN" ...
      <ABSTRACT_SCHEMA> ...
      )]

      my

      My ejb-jar.xml is the follow:

      <?xml version="1.0" encoding="UTF-8"?>
      <!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN" "http://java.sun.com/dtd/ejb-jar_2_0.dtd">

      <ejb-jar >

      No Description.
      <display-name>Generated by XDoclet</display-name>

      <enterprise-beans>

      <!-- Session Beans -->

      <!--
      To add session beans that you have deployment descriptor info for, add
      a file to your merge directory called session-beans.xml that contains
      the markup for those beans.
      -->

      <!-- Entity Beans -->

      <![CDATA[Entity bean que representa Item]]>
      <display-name>Item - Relacionado aos Contratos</display-name>

      <ejb-name>Item</ejb-name>

      <local-home>model.interfaces.ItemLocalHome</local-home>
      model.interfaces.ItemLocal

      <ejb-class>model.entityEJB.ItemBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>model.interfaces.ItemPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>Item</abstract-schema-name>
      <cmp-field >
      <![CDATA[Id of this account.]]>
      <field-name>id</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codEmpresa</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codItem</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>denItem</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>denItemReduz</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codUnidMed</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>pesUnit</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesTipItem</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>datCadastro</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesCtrEstoque</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codLocalEstoq</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesTemInspecao</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codLocalInsp</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesCtrLote</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codFamilia</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>gruCtrEstoq</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codClaFisc</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>pctIpi</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codLinProd</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codLinRecei</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codSegMerc</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codClaUso</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>fatConver</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesSituacao</field-name>
      </cmp-field>


      <query-method>
      <method-name>findByItem</method-name>
      <method-params>
      <method-param>java.lang.String</method-param>
      <method-param>java.lang.String</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[SELECT OBJECT(p) FROM Item AS p WHERE p.codEmpresa=?1 AND p.codItem=?2]]></ejb-ql>





      <![CDATA[Entity bean que representa Pedido]]>
      <display-name>Pedido - Relacionado aos Contratos</display-name>

      <ejb-name>Pedido</ejb-name>

      <local-home>model.interfaces.PedidoLocalHome</local-home>
      model.interfaces.PedidoLocal

      <ejb-class>model.entityEJB.PedidoBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>model.interfaces.PedidoPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>Pedido</abstract-schema-name>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codEmpresa</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>numPedido</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codCliente</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>pctComissao</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>numPedidoRepres</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>datEmisRepres</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codNatOper</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codTranspor</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codConsig</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesFinalidade</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesFrete</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesPreco</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codCndPgto</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>pctDescFinanc</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesEmbalPadrao</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesTipEntrega</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesAceite</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesSitPedido</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>datPedido</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>numPedidoCli</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>pctDescAdic</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>numListPreco</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codRepres</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codRepresAdic</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>datAltSit</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>datCancel</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codTipVenda</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codMotivoCan</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>datUltFatur</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codMoeda</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>iesComissao</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>pctFrete</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codTipCarteira</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>numVersaoLista</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codLocalEstoq</field-name>
      </cmp-field>


      <query-method>
      <method-name>findByPedido</method-name>
      <method-params>
      <method-param>java.lang.String</method-param>
      <method-param>java.math.BigDecimal</method-param>
      <method-param>java.lang.String</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[SELECT OBJECT(p) FROM PedidoBean AS p WHERE p.codEmpresa=?1 AND p.numPedido=?2 AND p.natOperacao=?3]]></ejb-ql>





      <![CDATA[Entity bean que representa Item]]>
      <display-name>Item Relacionado aos Contratos</display-name>

      <ejb-name>ItemTransfer</ejb-name>

      <local-home>model.interfaces.ItemTransferLocalHome</local-home>
      model.interfaces.ItemTransferLocal

      <ejb-class>model.entityEJB.ItemTransferBean</ejb-class>
      <persistence-type>Container</persistence-type>
      <prim-key-class>model.interfaces.ItemTransferPK</prim-key-class>
      False
      <cmp-version>2.x</cmp-version>
      <abstract-schema-name>ItemTransfer</abstract-schema-name>
      <cmp-field >
      <![CDATA[]]>
      <field-name>id</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>codEmpresa</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>secao</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>ordemProducao</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>item</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>pedido</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>qtdRemessa</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>datRemessa</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>horRemessa</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>eqpto</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>lacre</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>motorista</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>usuario</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>confirmado</field-name>
      </cmp-field>
      <cmp-field >
      <![CDATA[]]>
      <field-name>itemBomba</field-name>
      </cmp-field>


      <query-method>
      <method-name>findByItemTransfer</method-name>
      <method-params>
      <method-param>java.lang.String</method-param>
      <method-param>java.lang.String</method-param>
      </method-params>
      </query-method>
      <ejb-ql><![CDATA[SELECT OBJECT(p) FROM ItemTransfer AS p WHERE p.codEmpresa=?1 AND p.item=?2]]></ejb-ql>




      <!--
      To add entity beans that you have deployment descriptor info for, add
      a file to your merge directory called entity-beans.xml that contains
      the markup for those beans.
      -->

      <!-- Message Driven Beans -->
      <!--
      To add message driven beans that you have deployment descriptor info for, add
      a file to your merge directory called message-driven-beans.xml that contains
      the <message-driven></message-driven> markup for those beans.
      -->

      </enterprise-beans>

      <!-- Relationships -->

      <!-- Assembly Descriptor -->
      <assembly-descriptor >

      <!-- finder permissions -->

      <method-permission >
      description not supported yet by ejbdoclet


      <ejb-name>Item</ejb-name>
      <method-name>findByItem</method-name>
      <method-params>
      <method-param>java.lang.String</method-param>
      <method-param>java.lang.String</method-param>
      </method-params>

      </method-permission>

      <!-- finder permissions -->

      <method-permission >
      description not supported yet by ejbdoclet


      <ejb-name>Pedido</ejb-name>
      <method-name>findByPedido</method-name>
      <method-params>
      <method-param>String</method-param>
      <method-param>String</method-param>
      <method-param>String</method-param>
      </method-params>

      </method-permission>

      <!-- finder permissions -->

      <method-permission >
      description not supported yet by ejbdoclet


      <ejb-name>ItemTransfer</ejb-name>
      <method-name>findByItem</method-name>
      <method-params>
      <method-param>java.lang.String</method-param>
      <method-param>java.lang.String</method-param>
      </method-params>

      </method-permission>

      <!-- transactions -->
      <container-transaction >

      <ejb-name>Item</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      <container-transaction >

      <ejb-name>Pedido</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>
      <container-transaction >

      <ejb-name>ItemTransfer</ejb-name>
      <method-name>*</method-name>

      <trans-attribute>Required</trans-attribute>
      </container-transaction>

      <!-- finder transactions -->
      </assembly-descriptor>

      </ejb-jar>

      Anyone can help me with this ?







        • 1. Re:  Error compiling ejbql
          Sam Newbie

          <abstract-schema-name>Pedido</abstract-schema-name>
          should be <abstract-schema-name>PedidoBean</abstract-schema-name>

          or you can use Pedio in your sql-ql code.

          the one you used in your sql-ql should be same as the <abstract-schema-name>.
          good luck.. :)