need some help with bukkit database

Discussion in 'Bukkit Help' started by dunst0, Aug 21, 2011.

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

    dunst0

    i have tried to use the the bukkit ebean database.

    there isn't a lot information on it, so i searched the internet
    and there were some posts which explain what's need to be done
    to use the a database with bukkit

    I've added in the plugin.yml the entry database: true

    the code i've used you can find here
    https://gist.github.com/02b356f05105d8d07d13

    now every time i save something to the database, i got the values i set in the database
    but the id field is left blank so i can't retrieve the values from the database

    what am I doing wrong?
     
  2. Offline

    Supersam654

    Why are you directly saving values to a database? Are you trying to create a plugin?
     
  3. Offline

    dunst0

    yes :) did i miss understood how to use it?
     
  4. Offline

    Supersam654

    If you are trying to make a plugin, you should put your question in the plugin development forum :).
     
  5. Offline

    dunst0

    thanks you for your help
     
Thread Status:
Not open for further replies.

Share This Page