Chris,

>From the looks of your code, it looks like you're coding to an anti-pattern. See 
>http://blog.hibernate.org/cgi-bin/blosxom.cgi/2004/01/27#perf-problems

Have you tried this: only call flush or commit at the last method ? This is probably 
what Gavin is describing in his blog item e.g. 
session-per-application-transaction-with-flush-delayed-to-the-last-request

Regards,

Ronaldo

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850701#3850701

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850701


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to