ORM in sponge package/libraries

Is there going to be any orm provided together with sponge? For example bukkit had hibernate.

I know that many devs see orm as a bad thing, but for me its a nice tool how to save tons of time especially if i want to provide support for more than just one database.

Bukkit did not provide Hibernate but Avaje Ebeans (by the way, the bundled version was extremely old and barley usable due to several major bugs).

Sponge does not come with an ORM, but has a SqlService that provides a JDBC DataSource. For the implementation, this DataSource always connects to a certain Database as configured by the end-user (MySQL, Postgen, H2…) through a connection pool. Normally you can easily configure the ORM of your preference to use that DataSource.

3 Likes