org.hibernate.QueryTimeoutException: Could not open connection

Google Groups | Praveen Inja | 1 year ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    org.springframework.dao.QueryTimeoutException: Could not open connection

    Google Groups | 1 year ago | Praveen Inja
    org.hibernate.QueryTimeoutException: Could not open connection

    Root Cause Analysis

    1. org.hibernate.QueryTimeoutException

      Could not open connection

      at org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException()
    2. Spring ORM
      AbstractEntityManagerFactoryBean.translateExceptionIfPossible
      1. org.springframework.orm.jpa.vendor.HibernateJpaDialect.convertHibernateAccessException(HibernateJpaDialect.java:242)[spring-orm-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      2. org.springframework.orm.jpa.vendor.HibernateJpaDialect.translateExceptionIfPossible(HibernateJpaDialect.java:221)[spring-orm-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      3. org.springframework.orm.jpa.AbstractEntityManagerFactoryBean.translateExceptionIfPossible(AbstractEntityManagerFactoryBean.java:417)[spring-orm-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      3 frames
    3. Spring Tx
      PersistenceExceptionTranslationInterceptor.invoke
      1. org.springframework.dao.support.ChainedPersistenceExceptionTranslator.translateExceptionIfPossible(ChainedPersistenceExceptionTranslator.java:59)[spring-tx-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      2. org.springframework.dao.support.DataAccessUtils.translateIfNecessary(DataAccessUtils.java:213)[spring-tx-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      3. org.springframework.dao.support.PersistenceExceptionTranslationInterceptor.invoke(PersistenceExceptionTranslationInterceptor.java:147)[spring-tx-4.1.8.RELEASE.jar:4.1.8.RELEASE]
      3 frames