First of all, get your application deployed w/o errors. Perhaps, the DDs do not match their DTDs. What are the stacktraces?

netanel weinberg wrote:

Hello!

 i have a web application i built using EJB and i'm trying to make an ejb-ql
according to two parameters:
      <query>
        <query-method>
          <method-name>findByCompanycode</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(a) FROM Supplier AS a WHERE (a.companycode
= ?1) AND (a.suppliertype = ?2)]]>
        </ejb-ql>
      </query>

but JBOSS 3.2.2 with Tomcat 4.1.27 embedded is returning me the collection
accoding to the first parameter only!
 what is wrong? is it a problem with the implemention in JBOSS?

And Something else i'm been trying to move to CMP 2.0 and changed all my
classes that been needed to abstract and changed my ejb-jar.xml to use the
dtd of cmp 2.0 but i get an error on deploying with JBOSS on deploy
something about the JDBC factory and i don't know what is it problem! it's
the same problem i got when i tried to use lomboz to generate an ejb  for
testing.

10x ahead,
 netanel.




------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user





------------------------------------------------------- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to