RE: T5 and hibernate slowing with more records

2009-01-16 Thread James Sherwood
[mailto:jonathan.theit...@gmail.com] Sent: January-16-09 12:31 AM To: 'Tapestry users' Subject: RE: T5 and hibernate slowing with more records Been there, hit that. You need to clear() the session. Or, you can also evict() as you go. Basically, every time Hibernate needs to commit something

T5 and hibernate slowing with more records

2009-01-15 Thread James Sherwood
Hello, I am using POI to take an excel file and put it into a Mysql database using hibernate. I put a counter on the records going into the database and it starts off fast but then slows to over 15 seconds a record and I cannot figure out why. My code is basically this: Public

Re: T5 and hibernate slowing with more records

2009-01-15 Thread Szemere Szemere
Feels like a Hibernate question, not Tapestry. Does your table have the right index, do you need to have 10k transactions in a single web-request? Szemere

RE: T5 and hibernate slowing with more records

2009-01-15 Thread James Sherwood
: January-15-09 6:30 PM To: Tapestry users Subject: Re: T5 and hibernate slowing with more records Feels like a Hibernate question, not Tapestry. Does your table have the right index, do you need to have 10k transactions in a single web-request? Szemere

RE: T5 and hibernate slowing with more records

2009-01-15 Thread James Sherwood
-Original Message- From: Szemere Szemere [mailto:szemereszem...@googlemail.com] Sent: January-15-09 6:30 PM To: Tapestry users Subject: Re: T5 and hibernate slowing with more records Feels like a Hibernate question, not Tapestry. Does your table have the right index, do you need to have

Re: T5 and hibernate slowing with more records

2009-01-15 Thread Angelo Chen
. The memory starts at around 80mb and only goes up to around 110mb. What am I doing wrong? --James -- View this message in context: http://www.nabble.com/T5-and-hibernate-slowing-with-more-records-tp21483684p21490838.html Sent from the Tapestry - User mailing list

RE: Re: T5 and hibernate slowing with more records

2009-01-15 Thread James Sherwood
be faster as well. --James -Original Message- From: Angelo Chen [mailto:angelochen...@yahoo.com.hk] Sent: January-15-09 9:33 PM To: users@tapestry.apache.org Subject: [Spam Rating:3.18] Re: T5 and hibernate slowing with more records Hi James, I do not see any reason why it is slow

Re: T5 and hibernate slowing with more records

2009-01-15 Thread Christian Edward Gruber
. --James -Original Message- From: Angelo Chen [mailto:angelochen...@yahoo.com.hk] Sent: January-15-09 9:33 PM To: users@tapestry.apache.org Subject: [Spam Rating:3.18] Re: T5 and hibernate slowing with more records Hi James, I do not see any reason why it is slow, but would suggest to do

RE: Re: T5 and hibernate slowing with more records

2009-01-15 Thread Angelo Chen
as well. --James -Original Message- From: Angelo Chen [mailto:angelochen...@yahoo.com.hk] Sent: January-15-09 9:33 PM To: users@tapestry.apache.org Subject: [Spam Rating:3.18] Re: T5 and hibernate slowing with more records Hi James, I do not see any reason why it is slow