0 Replies Latest reply on Apr 3, 2002 12:49 PM by Ron Jawanda

    SQL 7 transactions and CPM

    Ron Jawanda Novice

      This is my first time with SQL 7 and EJB CPM.
      I have a finder method that tries to locate a record in a database.
      This is my EJB and the Exception
      I don't know what I get the exception??
      I hope someone can help me. I need to be able to read data. I inserted data... but can't read.

      Error is:
      Error creating prepared statement.
      Any idea how to debug it?


      Models a Pubs





      [INFO,MS SQLSERVER2000] No transaction right now.
      [INFO,MS SQLSERVER2000] No transaction right now.

      [WARN,PreparedStatementFactory] Error creating prepared statement.
      java.sql.SQLException: [Microsoft][SQLServer JDBC Driver]Can't start a cloned co
      nnection while in manual transaction mode.
      at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source
      at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)
      at com.microsoft.jdbc.base.BaseConnection.getImplConnection(Unknown Sour
      at com.microsoft.jdbc.base.BaseStatement.setupImplConnection(Unknown Sou
      at com.microsoft.jdbc.base.BaseStatement.(Unknown Source)