Slightly Complicated SQL Help

Discussion in 'Plugin Development' started by PandazNWafflez, May 31, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    PandazNWafflez

    So. I will have an SQL table named "Bounties". Each value inside it should be an ArrayList<Bounty> called the name of the corresponding player. So, currently I have executed "SELECT " + playerName + " FROM Bounties".

    I have my ResultSet variable. I want to go through the result (which should be an ArrayList) and add everything from it into an ArrayList<Bounty>, then return it.

    Can someone help me with this?

    I only recently began SQL, as I need to for something, so I have not much experience with it. As you can probably see.
     
  2. Offline

    edocsyl

  3. Offline

    PandazNWafflez

  4. Offline

    edocsyl

    Ohh.. Sry i missunderstand something.
     
  5. Offline

    PandazNWafflez

    K, can anyone help?
     
Thread Status:
Not open for further replies.

Share This Page