[JBoss-user] [Persistence CMP/JBoss] - Re: Unknown query error on finder method

2004-05-09 Thread sesques
No ebrain13,

The missing AS is supported as well.
The solution is elsewhere...

Hendrik, as loubyansky says, post your code and your server log.

Pascal


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834211#3834211

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834211


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unknown query error on finder method

2004-05-07 Thread ebrain13
hi,

I think the ejb-ql should look like 

ejb-qlSELECT OBJECT(o) FROM CifCommon AS o WHERE o.custNr = ?1/ejb-ql

You were missing AS in the query.

HTH

Vikram Naik


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3834105#3834105

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3834105


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unknown query error on finder method

2004-05-06 Thread [EMAIL PROTECTED]
Pascal

Yip, double-checked all my interfaces etc.  Funny thing is, the findByPrimaryKey gives 
me exactly the same error.  That is why I am starting to wonder if it is not maybe a 
JBoss configuration that's wrong...

Will have a look at the other topic as well.

Thanx for your help!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833860#3833860

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833860


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unknown query error on finder method

2004-05-06 Thread loubyansky
Are there errors at deployment? Could you post kernel.CifCommonHome?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833876#3833876

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833876


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Unknown query error on finder method

2004-05-05 Thread sesques
Hi Hendrik, 

We had a similar topic this week, quite the same error: 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833417
but your query seems OK, so I don't understand.

I think that the error arrives before any database access (and the JNDI name should be 
the one I give you).
There is no error of bad packaging or bad EJB-QL syntax because the server will hangs 
at deployment time. 
Is the finder method well declared in your CifCommonHome.java ?
Do you try a findByPrimaryKey to validate the correct mapping ?

Sorry, no more idea.

Pascal



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3833778#3833778

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3833778


---
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson  Lucent use to 
deliver higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user