Hi, i have a cmp bean "Minfo" and get my results in my client this way:
code: try { Collection c = getHome().findByDisk(disk); Iterator iterator = c.iterator(); Minfo info = null; while (iterator.hasNext()){ Object obj = iterator.next(); if (obj instanceof Minfo) info = (Minfo)obj; System.out.println(info.getDisk()+" "+ info.getExtension()); } } catch (RemoteException e1) { e1.printStackTrace(); Every time i call a get-function, JBoss make a database query like this: Executing SQL: SELECT filename, extension, disk, size, id3title, id3artist, id3length, id3bitrate FROM minfo WHERE (id=?) is it possible to get the information for all get-functions with one sql-call for each bean? is it possible to configure my bean or jboss for this behavior? if the finder has a result, is it possible to load all the bean data? or is there a other way i can improve performance? i have a performance problem if i call a lot of get-Methods. Thanks a lot and sorry for my bad english. P.S.I don't have the Admin and Dev book View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842172#3842172 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842172 ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user