[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to configure batch/fetch size

azhurakousky do-not-reply at jboss.com
Mon Jul 24 08:48:06 EDT 2006


Believe me, I hate to say it, but it does work for me here. . .
Do you have any other EJB3 configuration deployed?

Here is what I get:


  | 08:34:54,743 INFO  [SettingsFactory] JDBC batch size: 19
  | 
and here is my persistance.xml

  | <?xml version="1.0" encoding="UTF-8"?>
  | <persistence>
  |    <persistence-unit name="tempdb">
  |       <provider>org.hibernate.ejb.HibernatePersistence</provider>
  | 	  <jta-data-source>java:/MySqlDS</jta-data-source>
  |       <properties>
  |                   <property name="hibernate.jdbc.batch_size" value="19"/>
  |       </properties>       
  |    </persistence-unit>
  | </persistence>

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

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



More information about the jboss-user mailing list