Informix

 View Only
Expand all | Collapse all

jdbc error "The cursor has been previously released and is unavailable"

  • 1.  jdbc error "The cursor has been previously released and is unavailable"

    Posted Sun January 09, 2022 09:04 AM
    Hi All,

    The following error message occurred in the customer's jdbc program.
    "The cursor has been previously released and is unavailable"
    Referring to Brian's answer in the article below, after setting the JDBC environment variable (IFMXCONNECTION_CLEANER_THREADS=0),
    the error does not occur.

    https://stackoverflow.com/questions/55106632/warn-failed-to-getimportedkeys-the-cursor-has-been-previously-released-and-is

    My customer is using the JDBC driver version 4.10.JC15.
    Is it better to upgrade to version 4.50?

    ------------------------------
    SangGyu Jeong
    Software Engineer
    Infrasoft
    Seoul Korea, Republic of
    ------------------------------

    #Informix


  • 2.  RE: jdbc error "The cursor has been previously released and is unavailable"

    IBM Champion
    Posted Sun January 09, 2022 09:18 AM
    You have nothing to lose by trying it. By starting point is the latest ODBC/JDBC is better, not always the case but .... 

    Cheers
    Paul

    Paul Watson
    Oninit LLC
    +1-913-387-7529
    www.oninit.com
    Oninit®️ is a registered trademark of Oninit LLC