0 Replies Latest reply on May 4, 2007 3:57 AM by Sergio Ramos

    Hibernate - proxool connection problem

    Sergio Ramos Newbie

      I am using JBPM with Hibernate. My hibernate.cfg.xml contains this:
      ...
      ikate
      true
      proxool-config.xml


      ...

      My proxool-config.xml contains this:

      ...

      ikate
      <driver-url>jdbc:mysql://localhost/ikatemezclada</driver-url>
      <driver-class>com.mysql.jdbc.Driver</driver-class>
      <maximum-connection-count>10</maximum-connection-count>
      ...

      My problem is that the hibernate doesn't reuses the connections. The number of connections increase until 10 connections, and then I obtain a max connections error.
      What must I do to reuses the connections?

      thanks