maximwirt,
I've follow your suggestion and now it works fine. Thanks a lot.
Regards,
Fabricio Braga
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920007#3920007
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=392000
Hi all,
I have a trouble here while trying to find most recent date register from my
table.
Here goes my finder method:
anonymous wrote :
| public Project findLastCreated() throws RemoteException{
| String ejbQl = "select max(p.creationDate) from Project p";
| Project result = en
Hi all,
I'm getting in trouble while executing a simple query. I have an Entity named
"Project", and a Session named ProjectServiceBean that implements
ProjectService interface.
So the ProjectService (remote interface) gives me a method like this:
| public Project findByName(String name) t
I did what you told. It seems to work fine now, but I get 2 warnings messages:
| log4j:WARN No appenders could be found for logger
(org.jboss.security.SecurityAssociation).
| log4j:WARN Please initialize the log4j system properly.
|
Is there something more that I need to do?
Thanks,
F
Ops,
there is little error at line:
ProjectService projetService = (ProjectService) ic.lookup(
SaqueHome.class.getName());
Now making a little correction:
ProjectService projetService = (ProjectService) ic.lookup(
ProjectService.class.getName());
|
Ok.
View the original post :
http://ww
Hello,
I'm trying to create a simples stand alone EJB 3.0 client but it jut don't work.
The client woks fine when running on Servet class, but when running a class
with public static void main it does not work.
I'm doing something like this:
| public class SimpleClient {
| public st