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:...
Type: Posts; User: copeg
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:...
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.