: 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
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
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
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
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
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,
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
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
] 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
, 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
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...
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
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
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
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
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
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
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
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
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
20 matches
Mail list logo