Announcement Announcement Module
Collapse
No announcement yet.
Using getHibernateTemplate() problem Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Originally posted by vasukumar View Post
    Oh, then can I use commons DBCP, is it good to use?
    You could use that, we had problems in the past so we moved to c3p0.
    http://sourceforge.net/projects/c3p0/

    Comment


    • #17
      Code:
      <!--    <bean id="dataSource" class="com.mchange.v2.c3p0.ComboPooledDataSource"> -->
      <!--      <property name="driverClass"><value>com.mysql.jdbc.Driver</value></property> -->
      <!--      <property name="jdbcUrl"><value>jdbc:mysql://localhost:3306/nueue</value></property> -->
      <!--      <property name="user"><value>root</value></property> -->
      <!--      <property name="password"><value>admin</value></property>-->
      <!--    </bean>-->
      When put this configuration in my applicationContext.xml, first request is working fine and next request onwards its not responding itseems.

      any suggestions?

      thanks

      Comment

      Working...
      X