Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Strange MySQL exception...

Euroman_21Euroman_21 Member Posts: 69
Hi

I'm trying to run some mysql inside a Java - program, but then I try to run it I get the following SQL-exception:

java.sql.SQLException: Can not issue data manipulation statements with executeQuery().

What does this mean ?

Fred

Comments

  • JonathanJonathan Member Posts: 2,914
    Hi,

    : I'm trying to run some mysql inside a Java - program, but then I try
    : to run it I get the following SQL-exception:
    :
    : java.sql.SQLException: Can not issue data manipulation statements
    : with executeQuery().
    :
    : What does this mean ?
    executeQuery is used for queries that return a set of results, like SELECT. My guess is you're trying to do an INSERT or UPDATE or something like that - in which case you should use executeUpdate.

    Jonathan


    ###
    for(74,117,115,116){$::a.=chr};(($_.='qwertyui')&&
    (tr/yuiqwert/her anot/))for($::b);for($::c){$_.=$^X;
    /(p.{2}l)/;$_=$1}$::b=~/(..)$/;print("$::a$::b $::c hack$1.");

Sign In or Register to comment.