-
1. Re: Dynamic Query Search - @jboss.query
kalyan120 Feb 18, 2005 1:02 AM (in response to dhoang)You cannot access "Local" EJBs outside your app VM. Can you? I guess that could be a reason for your exception.
Thanks,
Kalyan. -
2. Re: Dynamic Query Search - @jboss.query
dhoang Feb 18, 2005 8:00 AM (in response to dhoang)
Thanks for your reply...
Yes, I was able to access to the Local...
I built the TestDateBean Client within Eclipse. I had a data in TestDateLocal but when I used the getTstampDate method in that Local class and it returned Null exception. Actually, all the rows in the database were in the collection...
I will rebuilt the test for TestDateBean in Jbuilder and test again...This is where all of our Beans were generated...
Thanks again... -
3. Re: Dynamic Query Search - @jboss.query
kalyan120 Feb 18, 2005 12:40 PM (in response to dhoang)Are your client and bean running in different VMs? If so, you can't access a local ejbean from your client. Local beans are different from Remote beans.
Thanks,
Kalyan. -
4. Re: Dynamic Query Search - @jboss.query
dhoang Feb 18, 2005 1:14 PM (in response to dhoang)
Hello Kalyan,
My Client and and Bean are in the same VM...This is a simple test case for a java.sql.Timestamp. I do not see why the Finder method is working but the dynamic query (using @jboss.query) failed. They should not be different as far as how to access to the table except the JBOSS-QL has more arguments (or conditions) to search...
Regards,
dhoang