Re: [JBoss-user] problem with EJB-QL

2003-12-15 Thread netanel weinberg
: Gary S. Cuozzo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 14, 2003 6:58 PM Subject: Re: [JBoss-user] problem with EJB-QL I think the jboss_dir/config/log/server.log file should default to DEBUG log level and should have the SQL queries in it. If not, you can edit

RE: [JBoss-user] problem with EJB-QL

2003-12-15 Thread Rupp, Heiko
PROTECTED] Subject: Re: [JBoss-user] problem with EJB-QL does anybody knows if it can be that JBOSS 3.2.2 doesn't support finder method with two parameters in EJB-QL? like that: query query-method method-namefindByCompanycode/method-name method-params

Re: [JBoss-user] problem with EJB-QL

2003-12-15 Thread netanel weinberg
To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] problem with EJB-QL does anybody knows if it can be that JBOSS 3.2.2 doesn't support finder method with two parameters in EJB-QL? like that: query query-method method-namefindByCompanycode/method-name method-params

Re: [JBoss-user] problem with EJB-QL

2003-12-15 Thread netanel weinberg
When im creating a CMP EJB with ejb-ql, should i define the ejb and/or the ejb-ql methods in the JBOSS's xml files too except for the ejb-jar.xml file? --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or

Re: [JBoss-user] problem with EJB-QL

2003-12-15 Thread Alexey Loubyansky
EJBQL is introduced in CMP2.0. It means it won't work with 1.1. jboss.xml and jbosscmp-jdbc.xml are optional. The number of parameters are not limited. netanel weinberg wrote: Hi! my application is deployed w/o any errors. my dtd is : ?xml version=1.0? !DOCTYPE ejb-jar PUBLIC -//Sun

[JBoss-user] problem with ejb-ql

2003-12-15 Thread netanel weinberg
I don't know what do about my problem with my ejb-ql finder method! it giving me back a collection according to only one parameter and not according to both of them. plz look at the attached file and tell if if u can find a problem with the ejb-ql finder method with the two parameters. 10x ahead,

Re: [JBoss-user] problem with ejb-ql

2003-12-15 Thread Alexey Loubyansky
Why don't you try with !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ? netanel weinberg wrote: I don't know what do about my problem with my ejb-ql finder method! it giving me back a collection

Re: [JBoss-user] problem with ejb-ql

2003-12-15 Thread netanel weinberg
should i transfer all my classes and set/get methods to be abstract? - Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, December 15, 2003 4:38 PM Subject: Re: [JBoss-user] problem with ejb-ql Why don't you try with !DOCTYPE ejb-jar

Re: [JBoss-user] problem with ejb-ql

2003-12-15 Thread Alexey Loubyansky
] problem with ejb-ql Why don't you try with !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; ? netanel weinberg wrote: I don't know what do about my problem with my ejb-ql finder method! it giving me back a collection

Re: [JBoss-user] problem with ejb-ql

2003-12-15 Thread netanel weinberg
, 2003 5:03 PM Subject: Re: [JBoss-user] problem with ejb-ql Yes, since you're going to use CMP2.0 netanel weinberg wrote: should i transfer all my classes and set/get methods to be abstract? - Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: [EMAIL PROTECTED

Re: [JBoss-user] problem with ejb-ql

2003-12-15 Thread Alexey Loubyansky
http://java.sun.com/dtd/ejb-jar_2_0.dtd http://java.sun.com/products/ejb/docs.html netanel weinberg wrote: is there any spec. of something like that of ejb-jar.xml for cmp 2.0 so i can look on 'cause i've tried once and JBOSS gave alot of erros about the JDBC factory and something...

Re: [JBoss-user] problem with EJB-QL

2003-12-14 Thread netanel weinberg
doesn't support that kind of EJB-QL methods? 10x ahead. - Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 12, 2003 12:13 PM Subject: Re: [JBoss-user] problem with EJB-QL First of all, get your application deployed w/o errors

Re: [JBoss-user] problem with EJB-QL

2003-12-14 Thread Gary S. Cuozzo
that kind of EJB-QL methods? 10x ahead. - Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 12, 2003 12:13 PM Subject: Re: [JBoss-user] problem with EJB-QL First of all, get your application deployed w/o errors. Perhaps

Re: [JBoss-user] problem with EJB-QL

2003-12-14 Thread netanel weinberg
PROTECTED] Sent: Sunday, December 14, 2003 3:39 PM Subject: Re: [JBoss-user] problem with EJB-QL Looks like you are using ejb1.1 dtd. If you are using CMP2, try: !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; Hope

Re: [JBoss-user] problem with EJB-QL

2003-12-14 Thread Gary S. Cuozzo
it be that JBOSS doesn't support that kind of EJB-QL methods? 10x ahead. - Original Message - From: Alexey Loubyansky [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, December 12, 2003 12:13 PM Subject: Re: [JBoss-user] problem with EJB-QL First of all

Re: [JBoss-user] problem with EJB-QL

2003-12-14 Thread netanel weinberg
How can i see the sql jboss is using to see what is generated? - Original Message - From: Gary S. Cuozzo [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, December 14, 2003 4:35 PM Subject: Re: [JBoss-user] problem with EJB-QL I misread your first message and thought you had

Re: [JBoss-user] problem with EJB-QL

2003-12-14 Thread Gary S. Cuozzo
14, 2003 3:39 PM Subject: Re: [JBoss-user] problem with EJB-QL Looks like you are using ejb1.1 dtd. If you are using CMP2, try: !DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 2.0//EN http://java.sun.com/dtd/ejb-jar_2_0.dtd; Hope that helps

Re: [JBoss-user] problem with EJB-QL

2003-12-12 Thread Alexey Loubyansky
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

[JBoss-user] problem with EJB-QL

2003-12-11 Thread netanel weinberg
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-namefindByCompanycode/method-name method-params method-paramjava.lang.String/method-param

[JBoss-user] problem with ejb-ql

2002-11-25 Thread Tania G. Ramos
Hi, I'm having a problem using EJB-QL. I have the following simple sentence in my ejb-jar.xml, but it doesn't deploy. query query-method method-namefindByDocB/method-name method-params method-paramjava.lang.String/method-param