MySQL ArrayList

Discussion in 'Plugin Development' started by DevRosemberg, Jul 29, 2014.

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

    DevRosemberg

    Hello, i havent used MySQL in a long time, i dont remember how to store the values of an arraylist into MySQL and then retrieve those values to add them back to the arraylist. If someone could help me i would appreciate it.

    Thanks in advance.
     
  2. Offline

    rfsantos1996

    Since you can't store objects (at least not easily) on MySQL, you can separate Strings with "-" or other character that wouldn't influenciate your storage and then Arrays.asList(string.split("-"))

    Still, if you can store Lists on MySQL, I would love to see that, so i'll watch the thread (; -- don't mark as solved even if it works, if this is possible
     
Thread Status:
Not open for further replies.

Share This Page