java.sql.SQLException: Transactions not supported

Hibernate JIRA | Enrique Zamudio | 1 decade ago
  1. Speed up your debug routine!

    Automated exception search integrated into your IDE

  2. 0

    Hi I am using Hibernate 3 with JDK1.5 and Informix 9.4 and driver version 2.21JC5 But it shows the error seems not support informix9.4 The Error is org.hibernate.exception.GenericJDBCException: Cannot open connection at org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:82) at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:70) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43) at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:29) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:301) at org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:110) at org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:137) at org.hibernate.transaction.JDBCTransaction.begin(JDBCTransaction.java:49) at org.hibernate.transaction.JDBCTransactionFactory.beginTransaction(JDBCTransactionFactory.java:24) at org.hibernate.jdbc.JDBCContext.beginTransaction(JDBCContext.java:271) at org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1079) at com.pa.cricket.daoimpl.PlayerDAOImpl.findAllPlayers(PlayerDAOImpl.java:46) at com.pa.cricket.bl.Test.main(Test.java:31) Caused by: java.sql.SQLException: Transactions not supported at com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:355) at com.informix.jdbc.IfxSqliConnect.setAutoCommit(IfxSqliConnect.java:1714) at org.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:112) at org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:298) ... 8 more

    Hibernate JIRA | 1 decade ago | Mohammed Hanifa
    org.hibernate.exception.GenericJDBCException: Cannot open connection

    9 unregistered visitors
    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. java.sql.SQLException

      Transactions not supported

      at com.informix.util.IfxErrMsg.getSQLException()
    2. com.informix.util
      IfxErrMsg.getSQLException
      1. com.informix.util.IfxErrMsg.getSQLException(IfxErrMsg.java:355)
      1 frame
    3. com.informix.jdbc
      IfxSqliConnect.setAutoCommit
      1. com.informix.jdbc.IfxSqliConnect.setAutoCommit(IfxSqliConnect.java:1714)
      1 frame
    4. net.sf.hibernate
      Configuration.buildSessionFactory
      1. net.sf.hibernate.connection.DriverManagerConnectionProvider.getConnection(DriverManagerConnectionProvider.java:97)
      2. net.sf.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:72)
      3. net.sf.hibernate.cfg.Configuration.buildSettings(Configuration.java:1119)
      4. net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:748)
      4 frames