org.geotools.jdbc
Class SessionCommandsListener

Object
  extended by SessionCommandsListener
All Implemented Interfaces:
ConnectionLifecycleListener

public class SessionCommandsListener
extends Object
implements ConnectionLifecycleListener

A ConnectionLifecycleListener that executes custom SQL commands on connection grab and release. The SQL commands can contain environment variable references, where the enviroment variable reference contains a name and an eventual default value. Parsing rules are:

Examples of valid expressions: Examples of non valid expressions: