Code example for Statement

Methods: close, executeUpdate

0
				System.out.println(e.getMessage());
			} 
			try{ 
				con=DriverManager.getConnection("jdbc:mysql://localhost:3306/test?user=root&password=wang0314");
				stmt=con.createStatement();
				stmt.executeUpdate(createString);
				stmt.close();
				con.close();
			}catch(SQLException ex){
				System.out.println("SQLException"+ex.getMessage());
			} 
		} 
	}