The second works. Alex Loubyansky wrote:
>Hello kiuma, > >could you, please, provide more info on what works and what doesn't? > >Thank you. > >alex > >Tuesday, October 08, 2002, 1:31:07 PM, you wrote: > >k> Hi all! >k> I finally solved my previos problem it was that I wrote: > >k> * @ejb.finder signature="java.util.Collection findAll()" >k> * @jboss.query >k> * signature="java.util.Collection findAll()" >k> * query="SELECT OBJECT(Agenda) FROM WaAgenda agenda ORDER BY >k> Agenda.serviceId, Agenda.agendaDay" >k> * result-type-mapping="Local" > >k> instead of > >k> * @ejb.finder signature="java.util.Collection findAll()" >k> * query="SELECT OBJECT(Agenda) FROM WaAgenda agenda" >k> * result-type-mapping="Local" >k> * @jboss.query >k> * signature="java.util.Collection findAll()" >k> * query="SELECT OBJECT(Agenda) FROM WaAgenda agenda ORDER BY >k> Agenda.serviceId, Agenda.agendaDay" >k> * result-type-mapping="Local" > > >k> The strange thing is that if only with 1 entity bean it works (in the >k> first form), but it stops working with more then 1 entity. >k> This is common to both 3.0.1 and 3.2.0beta > >k> Bye, >k> kiuma > > > > >------------------------------------------------------- >This sf.net email is sponsored by:ThinkGeek >Welcome to geek heaven. >http://thinkgeek.com/sf >_______________________________________________ >JBoss-user mailing list >[EMAIL PROTECTED] >https://lists.sourceforge.net/lists/listinfo/jboss-user >. > ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user