Search:

Type: Posts; User: bodylojohn

Search: Search took 0.09 seconds.

  1. Replies
    13
    Views
    2,744

    Re: ExecuteUpdate throws exception

    I just recieved an email from my teacher.
    Because the assignement (i have to make an applet) sais that there hase to be a html file that calls the class.

    How should I go about this?
  2. Replies
    13
    Views
    2,744

    Re: ExecuteUpdate throws exception

    @GregBrannon: Thanks!

    Here is my code for reviewing. I realy hope that you guys can give me some insightful tips or remarks.

    Connection Class

    //Importeer bibliotheken
    import...
  3. Replies
    13
    Views
    2,744

    Re: ExecuteUpdate throws exception

    Hello,

    I finally completed my assignment and everything works fine. I've got 3 classes and I would love it if somebody could look through them and give me some tips and tricks concerning my code....
  4. Replies
    13
    Views
    2,744

    Re: ExecuteUpdate throws exception

    I found a solution that works:

    public void nieuwGerecht(){
    try {
    Statement statement = con.connection.createStatement();

    String gget;
    gget = "SELECT max(afhaalmenus.menu_id) FROM...
  5. Replies
    13
    Views
    2,744

    Re: ExecuteUpdate throws exception

    My crosspost is also @ ExecuteUpdate throws exception

    --- Update ---



    Indeed..
    But I just don't see it:

    sset = "INSERT INTO 'afhaalmenus'...
  6. Replies
    13
    Views
    2,744

    Re: ExecuteUpdate throws exception

    @PhHein:
    Do you mean this:

    com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the...
  7. Replies
    13
    Views
    2,744

    ExecuteUpdate throws exception

    Hello,

    I am fairly new to java and thats the reason that I am following an online class to educate myself in this matter.

    For an assignement we have to built an applet containing buttos en...
Results 1 to 7 of 7