Search:

Type: Posts; User: copeg

Search: Search took 0.12 seconds.

  1. Replies
    7
    Views
    4,154

    Re: JDBC connection error

    This is an SQL error and not a java error.


    db_statement.executeUpdate("create table employee { int id, char(50) name };");


    The syntax is wrong. See the syntax for creating tables in SQL:...
  2. Replies
    7
    Views
    4,154

    Re: JDBC connection error

    This is a very common problem to JDBC newcomers. You must 1) download the driver (a .jar file you can get specific for your database) and 2) place the driver on your classpath.
Results 1 to 2 of 2