SqlLite

Discussion in 'Plugin Development' started by sailorerik, Aug 27, 2015.

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

    sailorerik

    Dear bukkit developer, i need your help.

    Basically, i know how to use MySQL on Bukkit, Spigot, but i have no idea how to use SqlLite.
    If you gonna post, then do not give me any api like SQLibrary.
    Also, if you give me help, can you give me example also?

    Best wishes, and better school start,
    Arr Sailor.
     
  2. Offline

    Konato_K

    @sailorerik Normally you already have access to those things by using the JDBC, and bukkit already comes with a pre-packaged SQLite library (but it's for Java 5 or so, so you may lack some new additions).

    You just have to get the connection and use it from then
    Code:
    DriverManager.getConnection("jdbc:sqlite:test.db");
     
  3. Offline

    sailorerik

    Any example about SqlLite?
     
  4. Offline

    mythbusterma

    @sailorerik

    What do you want an example of? I'm sure if you looked on Google you can find what you need.
     
  5. Offline

    sailorerik

    I mean, how do i set and get values? Or getting and setting values is like MySQL?
     
  6. Offline

    Konato_K

    @sailorerik Using the JDBC yes, you use the same classes and stuff, the syntax is almost the same (since both are SQL) but there are a few changes, but you can find those using Google.
     
  7. Offline

    sailorerik

    Thanks for quick help!
     
Thread Status:
Not open for further replies.

Share This Page