This plugin allows easy SQL
queries and transactions.
A full JDBC / SQL section is dedicated to this plugin in the documentation!
1. Add this Maven artifact to your project:
<dependency> <groupId>org.spincast</groupId> <artifactId>spincast-plugins-jdbc</artifactId> <version>2.2.0</version> </dependency>
2. Add an instance of the SpincastJdbcPlugin plugin to your Spincast Bootstrapper:
Spincast.configure() .plugin(new SpincastJdbcPlugin()) // ...
The class implementing the SpincastPlugin interface is SpincastJdbcPlugin.