Code example for Connection

Methods: createStatement

0
			"FOREIGN KEY (underAuthor_id) REFERENCES sga_people(id), " + 
			"FOREIGN KEY (gradAuthor_id) REFERENCES sga_people(id), " + 
			"FOREIGN KEY (user_id) REFERENCES users(id))"; 
		Statement stmt = null;
		try { 
			stmt = con.createStatement();
			stmt.executeUpdate(createString);
		} catch (SQLException e) {
			JacketPagesDBSetup.printSQLException(e);
		} finally { 
			if (stmt != null) { 
				stmt.close();
				System.out.println("\nPopulating bills table");
				return populateTable(); 
			} 
		} 
		return false; 
	} 
 
	// *** NEED TO EDIT ***