Search:

Type: Posts; User: moekler

Search: Search took 0.24 seconds.

  1. Re: JDBC - any query and the corresponding result set

    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 =...
  2. Re: JDBC - any query and the corresponding result set

    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...
  3. JDBC - any query and the corresponding result set

    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...
  4. Replies
    1
    Views
    397

    Starting one class from another class.

    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...
Results 1 to 4 of 4