title: Hikari connection pooling + Hibernate 4.3.8 + Spring Data JPA configuration?
body: <p>please tell me.
  How can I configure the "Hikari connection pooling + Hibernate 4.3.8 + Spring Data JPA configuration"?
  Here is my configuration, but for some reason I am sure that this configuration is not correct. Because the the console does not appear anything like the "connetction pooling".
  On the Internet I can not find the tutorial for the beginner.
  Thanks.</p>
  
  <pre><code>&lt;bean id="entityManagerFactory"
      class="org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean"
      p:dataSource-ref="dataSource" p:packagesToScan="com.history"
      p:jpaVendorAdapter-ref="jpaVendorAdapter"&gt;
      &lt;property name="jpaProperties" ref="hibernateProperties" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="jpaVendorAdapter"
      class="org.springframework.orm.jpa.vendor.HibernateJpaVendorAdapter"&gt;
      &lt;property name="showSql" value="true" /&gt;
      &lt;property name="generateDdl" value="true" /&gt;
      &lt;property name="database" value="ORACLE" /&gt;
      &lt;property name="databasePlatform" value="org.hibernate.dialect.OracleDialect" /&gt;
  &lt;/bean&gt;
  
  &lt;util:map id="hibernateProperties"&gt;
      &lt;entry key="hibernate.connection.driver_class"
          value="org.hibernate.hikaricp.internal.HikariCPConnectionProvider" /&gt;
      &lt;entry key="connection.url" value="${dataSource.url}" /&gt;
      &lt;entry key="connection.driver_class" value="${dataSource.driverClassName}" /&gt;
      &lt;entry key="connection.username" value="${dataSource.username}" /&gt;
      &lt;entry key="connection.password" value="${dataSource.password}" /&gt;
      &lt;entry key="hibernate.jdbc.batch_size" value="100" /&gt;
      &lt;entry key="hibernate.order_inserts" value="true" /&gt;
      &lt;entry key="hibernate.order_updates" value="true" /&gt;
  &lt;/util:map&gt;
  
  &lt;bean id="dataSource"
      class="org.springframework.jdbc.datasource.DriverManagerDataSource"&gt;
      &lt;property name="driverClassName" value="${dataSource.driverClassName}" /&gt;
      &lt;property name="url" value="${dataSource.url}" /&gt;
      &lt;property name="username" value="${dataSource.username}" /&gt;
      &lt;property name="password" value="${dataSource.password}" /&gt;
  &lt;/bean&gt;
  
  &lt;bean id="transactionManager" class="org.springframework.orm.jpa.JpaTransactionManager"
      p:entityManagerFactory-ref="entityManagerFactory"&gt;
  &lt;/bean&gt;
  </code></pre>