jdbc executeupdate bug

From: curwen (josephcurwen_at_despammed.com)
Date: 10/30/03

  • Next message: Don: "Re: JTable cell selection event"
    Date: 30 Oct 2003 00:30:48 -0800
    
    

    hi all,
    it seems this normal code for update database using jdbc doesn't work:

    //////////////
    stmt = conn.createStatement();
    //int i = stmt.executeUpdate(s);
    flag = stmt.execute(s);
    conn.close();
    }

    catch(SQLException se)
    {
    System.out.println( se) ;
    }
    ///////////

    it's weird because it doesn.t generate any error catched by the exception
    it just remains 'freezed' at the executeupdate line

    the connection is all right and the sql statements works elsewhere

    I'm using oracle 9i and jdev 903
    the system library is Oracle JDBC, (classes12.jar)

    thanks in advance
    Diego


  • Next message: Don: "Re: JTable cell selection event"