[JBoss-user] [EJB/JBoss] - EJB QL performance

2004-07-10 Thread Reinaerde
Hello all, I have a find method in an entity bean that returns 4 references. In a session facade the initial findAllXXX takes 2 seconds. Then a transfer object is created for each eb. On the eb 5 get methods are called. in this loop over the 4 results, the calling of the get method takes 12! s

[JBoss-user] [EJB/JBoss] - Re: EBJ QL question

2004-07-10 Thread Reinaerde
Made a stupid mistake. The app was 1.1 compliant. Made some changes to support 2.0 and now it works. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841637#3841637 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841637

[JBoss-user] [EJB/JBoss] - EBJ QL question

2004-07-09 Thread Reinaerde
Hello all, I'm trying to deploy an app that uses ejb ql to do some queries. One query needs to return a collection, but it always is empty, regardless it should return values or not. As test, I copied the findAll method. This returns 2, but the copy (my own method) returns always 0.