I actually got it to work. Here's the final code:
public void sqlQuery1(String query) {
System.out.println("Enter you sql query:");
this.query = scan.nextLine();
Connection conn =...
Type: Posts; User: moekler
I actually got it to work. Here's the final code:
public void sqlQuery1(String query) {
System.out.println("Enter you sql query:");
this.query = scan.nextLine();
Connection conn =...
No exceptions, it just stops after printing the first employees information (name, ssn, address, etc., there are 9 columns in all). Without the i loop it only printed out the first column. Actually...
I am having difficulty outputting the result set after a user input query. I need the user to be able to input any SQL query and print out the result set with field names and corresponding data. I...
I have an assignment where I am supposed to . . .
1. Create a class called HiLoGame. This class will just be the driver class to get the game started. It should have the main method and then just...