org.hibernate.exception.GenericJDBCException: Cannot open connection

coderanch.com | 3 months ago
  1. 0

    Error SQLCODE "-811", SQLSTATE "21000"

    Google Groups | 1 decade ago | Richard
    org.hibernate.exception.GenericJDBCException: could not insert: [ca.olgc.proline.domain.PropDO]
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Hibernate Community • View topic - could not insert exception with db2

    hibernate.org | 1 year ago
    org.hibernate.exception.GenericJDBCException: could not insert: [eserve.bco_ta_address]
  4. 0

    [HB-1567] could not insert exception with db2 - Hibernate JIRA

    atlassian.net | 11 months ago
    org.hibernate.exception.GenericJDBCException: could not insert:

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. org.hibernate.exception.GenericJDBCException

      Cannot open connection

      at org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException()
    2. Hibernate
      BasicEntityPersister.insert
      1. org.hibernate.exception.ErrorCodeConverter.handledNonSpecificException(ErrorCodeConverter.java:92)
      2. org.hibernate.exception.ErrorCodeConverter.convert(ErrorCodeConverter.java:80)
      3. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
      4. org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29)
      5. org.hibernate.jdbc.AbstractBatcher.openConnection(AbstractBatcher.java:419)
      6. org.hibernate.jdbc.JDBCContext.connect(JDBCContext.java:145)
      7. org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:91)
      8. org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:74)
      9. org.hibernate.jdbc.AbstractBatcher.prepareStatement(AbstractBatcher.java:67)
      10. org.hibernate.jdbc.AbstractBatcher.prepareBatchStatement(AbstractBatcher.java:148)
      11. org.hibernate.persister.entity.BasicEntityPersister.insert(BasicEntityPersister.java:1848)
      12. org.hibernate.persister.entity.BasicEntityPersister.insert(BasicEntityPersister.java:2209)
      12 frames
    3. Hibernate
      EntityInsertAction.execute
      1. org.hibernate.action.EntityInsertAction.execute(EntityInsertAction.java:46)
      1 frame
    4. Hibernate
      ActionQueue.executeActions
      1. org.hibernate.engine.ActionQueue.execute(ActionQueue.java:239)
      2. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:223)
      3. org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:136)
      3 frames
    5. Hibernate
      SessionImpl.flush
      1. org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:274)
      2. org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
      3. org.hibernate.impl.SessionImpl.flush(SessionImpl.java:678)
      3 frames
    6. com.myhibernate.hp
      EmployeeDetailsClient.main
      1. com.myhibernate.hp.test.EmployeeDetailsClient.main(EmployeeDetailsClient.java:33)
      1 frame