I don't think read-only getters are a good idea. AFAIU this executes code outside of transactions, effectively requireing DB reads. If this does not hurt your performance, then your transaction boundaries are probably not well chosen.
Which commit option are you using. Could Commit option A or else D be used in your case? Check you DB access. Enable debug log for the cmp stuff to see which SQL queries are executed. Most likely you will see some problems there. If so, ask some specific questions, "it is slow" only allows guesswork. Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846360#3846360 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846360 ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user