Originally posted by Reza Rahman:
Are you using EJB 3 remoting by accident or on purpose? The problem you are having indicates an RMI connectivity issue, possibly because of a firewall, but it could also be some kind of weird network misconfiguration.
The "from" syntax definitely won't work unless you are using Hibernate. Even then, it's not a good idea...I am shocked the Bill Burke book would include such code. I certainly did not catch that when I read it myself.
The code you have posted is fine otherwise. The problem is elsewhere.
P.S.: What you are using is called JPQL, not "EJB query language". That refers to EJBQL in EJB 2.x Entity Beans.
[ October 31, 2008: Message edited by: Reza Rahman ]
Originally posted by Christophe Verre:
Where is the SELECT ?
Originally posted by Anton Golovin:
What do you expect to get out of the certificate?