Want a better Minecraft server? Read about SpigotMC here!
Separate names with a comma.
Discussion in 'Spigot Plugin Development' started by Fede1132, Jan 27, 2020.
Hi I wanna ask: What's the best way/lib to access to mysql database under the performance side?
Most of the time, people can get away with this, depending on the size of your project I would recommend using this until you understand the basis of MySQL.
Use HikariCP to create connection pools instead of creating a new connection for each statement. From my understanding you can call these methods asynchronously.
Once you get to the point where you worry about persistence/ORM stuff, I'd recommend to give Hibernate a shot.