DBUtils - Simplified database manipulation for Sponge plugins

DBUtils

DBUtils provides a simplified way to manipulate databases. The utility provides ways to add your own Database types, Keys, and Caches. There is currently no implemented Database types, but any help is welcome.

##Features

  • Easy Configuration for Server Owners
  • Modular
  • Easily add your own Database types, Keys, and Caches
  • Out of the box Database types
  • MySQL Not Implemented
  • SQLite Not Implemented
  • H2 Not Implemented
  • Out of the box Keys
  • StringKey
  • UUIDKey
  • MultiKey
  • Out of the Caches
  • StringCache
  • ObjectCache
  • Change any type of Cache into a UpdatingCache or SavingCache

##Suggestions and Issues

Issues

DBUtils uses GitHub to track issues. Click the link below to view the issue tracker.

Issue Tracker

Suggestions

If you have any suggestions, please submit an issue to GitHub of leave a reply on this post.

##Source Code

DBUtils is open-source, the source code is available on GitHub.

View on GitHub

##Downloads

There’s currently no available download at this time.

Just a question: Why should someone use this instead of hibernate?

Well I myself haven’t really used Hibernate or any ORM library. Having said that and looking briefly at Hibernate, DBUtils can be used with databases that aren’t relational. Other developers can implement a MongoDB Database type to work with DBUtils. The reason why I have MySQL, SQLite, and H2 as out of the box Database types is because they are supported on Sponge (at least since the last time I looked at the docs for the DatabaseService).

This would be more suited in the Plugin Resources category

This is actually a plugin itself though, I’m not sure the move is justified.

1 Like