Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8043738

Problem ODBC / JDBC

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 6u43
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      FULL PRODUCT VERSION :
      "1.6.0_23"

      ADDITIONAL OS VERSION INFORMATION :
      Windows XP

      A DESCRIPTION OF THE PROBLEM :
      When I am trying to connect to MySQL Database via ODBC/JDBC with the following code :
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      PreparedStatement prepare = cx.prepareStatement(
       "UPDATE " + DB_TABLE_PRODUITS_FONCTION +
      " SET ID_FONCTION = ?, " +
      "NOTE = ?, NUM_BLOC = ?, TYPE_BLOC = ?, ID_PRODUIT = ? " +
      "WHERE ID_PRODUITS_FONCTION = ?");
      prepare.setInt (1, produitsFonction.Id_fonction);
      prepare.setString (2, produitsFonction.f_GET_NOTE());
      prepare.setInt (3, produitsFonction.Num_bloc);
      prepare.setString (4, produitsFonction.Type_bloc);
      prepare.setInt (5, produitsFonction.Id_produit);
      prepare.setInt (6, produitsFonction.Id_produits_fonction);
      prepare.executeUpdate();
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      I get the following fatal error :
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      #
      # A fatal error has been detected by the Java Runtime Environment:
      #
      # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0425dfd2, pid=2056, tid=2388
      #
      # JRE version: 6.0_23-b05
      # Java VM: Java HotSpot(TM) Client VM (19.0-b09 mixed mode, sharing windows-x86 )
      # Problematic frame:
      # C [myodbc5w.dll+0xdfd2]
      #
      # If you would like to submit a bug report, please visit:
      # http://java.sun.com/webapps/bugreport/crash.jsp
      # The crash happened outside the Java Virtual Machine in native code.
      # See problematic frame for where to report the bug.
      #
      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Could you please help me to solve it ?

      Thank you by advance,

      Best regards.

      Ywan LESOEUR


      REPRODUCIBILITY :
      This bug can be reproduced always.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: