From: Gavin K. <ga...@ap...> - 2002-10-11 07:26:56
|
Thanks Matt; I will have a look at this tomorrow. peace Gavin ----- Original Message ----- From: "Matt Veitas" <mv...@ob...> To: <hib...@li...> Sent: Friday, October 11, 2002 5:16 PM Subject: [Hibernate] [PATCH] - PreparedStatement setFetchSize > Going through the code, I noticed that the setFetchSize > method for statements/preparedstatements was not being > used. For large/high traffic data, this is extremely > important to set as I am sure you all know. > > Tonight was the first time I really have dug into the > code, so bear with me. I gave it a shot at adding the > hibernate.statement.fetch_size property to the > hibernate.properties file. It looked as if there was > one centralized place where all the query > preparedstatements were being created so I set the > fetchSize on the preparedstatement there (SessionImpl). > > I have posted the patch up on the site.... > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > hibernate-devel mailing list > hib...@li... > https://lists.sourceforge.net/lists/listinfo/hibernate-devel |