Toolkits Swing JavaFX SWT Pivot Qt Lanterna Console
Platforms
  • linux
  • macosx
  • windows
  • solaris
Framework
License Apache Software License 2.0
Documentation No documentation link provided
Downloads 742
Rating
(0)

Authored by:

Andres Almiray
aalmiray@yahoo.com

The GSQL plugin enables lightweight access multiple SQL datasources. This plugin does NOT provide domain classes nor dynamic finders like GORM does.

Usage

Upon installation the plugin will generate the following artifacts in $appdir/griffon-app/conf:

  • BootstrapGsql.groovy - defines init/destroy hooks for data to be manipulated during app startup/shutdown.

This plugin relies on the facilities exposed by the datasource plugin.

Multiple Databases

The plugin expects a class BootstrapGsql_<datasourcename> to be available in the classpath. The default BootstrapGsql class will be used if the former could not be found.

Example

A trivial sample application can be found at https://github.com/aalmiray/griffon_sample_apps/tree/master/persistence/gsql