How do you use MySQL databases?

Discussion in 'Plugin Development' started by Mike111177, Jul 3, 2012.

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

    Mike111177

  2. Offline

    cdncampbell

    Personally, I use the JPA (Java Persistence API) to connect with and use my databases. There are two main JPA libraries out there, OpenJPA (apache project) or EclipseLink (eclipse project). I prefer to use the EclipseLink library myself. The learning curve is steep if you do not have any experience with OOP or database design. However once you get past the fundamentals, it is a real treat to use.
     
  3. Offline

    Mike111177

    Where would i find eclipse link? Do i just install the eclipse link sdk in the marketplace?
     
  4. Offline

    cdncampbell

    Correct, if you download the JEE Eclipse Package, the user library should already be present. If it isn't you can download it during project creation (make sure to choose JPA Project).
     
  5. Offline

    wlan222

    I use PatPeters Library too but i wrote a wrapper e.g. for checking whether an table exists and create it or getting an value so i dont have to hard code it everytime
     
  6. Offline

    Mike111177

    i tried patpeters library originally but i really don't understand how to use it
     
Thread Status:
Not open for further replies.

Share This Page