You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are busy building a plugin, and not to reinvent the SQLWheel we are using SQLibrary, and we are wondering how to achieve the following:
For security purposes we want to use Prepare statements (sql.prepare("Insert into ? value(?,?) for example).
However, when using the follow up statements sql.setString, sql.setDouble and sql.setInt etc we are getting The method setString(int, String) is undefined for the type Database.
How do we achieve the setString etc without having to recode the whole SQLibrary ourselfs, to add support to do this?
The text was updated successfully, but these errors were encountered:
Thanks for the issue Michel! Since you don't want to reinvent the SQL libraries out there, have you tried the Bukkit API ORM? SQLibrary has essentially been deprecated in favor of it.
Start by reverse engineering your tables into JavaX Persistence entities:
Good afternoon:
We are busy building a plugin, and not to reinvent the SQLWheel we are using SQLibrary, and we are wondering how to achieve the following:
For security purposes we want to use Prepare statements (sql.prepare("Insert into ? value(?,?) for example).
However, when using the follow up statements sql.setString, sql.setDouble and sql.setInt etc we are getting The method setString(int, String) is undefined for the type Database.
How do we achieve the setString etc without having to recode the whole SQLibrary ourselfs, to add support to do this?
The text was updated successfully, but these errors were encountered: