Overview

This plugin allows easy SQL queries and transactions.

A full JDBC / SQL section is dedicated to this plugin in the documentation!

Installation

1. Add this Maven artifact to your project:

<dependency>
    <groupId>org.spincast</groupId>
    <artifactId>spincast-plugins-jdbc</artifactId>
    <version>0.9.52</version>
</dependency>

2. Add an instance of the SpincastJdbcPlugin plugin to your Spincast Bootstrapper:


Spincast.configure()
        .plugin(new SpincastJdbcPlugin())
        // ...

Plugin class

The class implementing the SpincastPlugin interface is SpincastJdbcPlugin.

Javadoc