-
1. Re: select return type
kryptontri Dec 6, 2001 8:14 AM (in response to julien1)Hello ..
I am assuming you are using 3.0 { as you referred to local interface }. Can you include your xml config files and if you have any code implementation ? -
2. Re: select return type
julien1 Dec 6, 2001 9:12 AM (in response to julien1)In fact the problem is not what I said but something wrong still occurs.
I have coded an ejbSelect in a Bean A that should returns instances of a Bean B which are in a cmr field of Bean A.
so, select should return instance of Bean B but in fact it returns instances of Bean A.
in bean A there is that query :
SELECT OBJECT(b) FROM BeanB AS b WHERE b.beanA = ?1
objects returned by select implements only BeanA local
interface (so when I try to cast to BeanA there is
a problem, that is why I said that it was instance
of bean instead of local that was given to me by select method) -
3. Re: select return type
dsundstrom Dec 6, 2001 4:42 PM (in response to julien1)This is weird. Can you develop a small test case and post a bug report at source forge?
-
4. Re: select return type
julien1 Dec 7, 2001 4:46 AM (in response to julien1)ok, I will try to find the bug again and post it.
bye